modify price display on results page
How do I modify the price display on results pages from $x.00 - $x.00 to "starting at $lowest price goes here"?
Thanks,
Lisa
How do I modify the price display on results pages from $x.00 - $x.00 to "starting at $lowest price goes here"?
Thanks,
Lisa
On the results page change the code at line 347 - 355:
<h3>$
<?php
if($row_WADAProducts["BottomPrice"] > 0) {
echo number_format($row_WADAProducts["BottomPrice"],2);
} else {
echo number_format($row_WADAProducts["ProductPrice"],2);
}
?>
<?php echo(($row_WADAProducts["TopPrice"] != $row_WADAProducts["BottomPrice"])?" - $" . number_format($row_WADAProducts["TopPrice"],2):""); ?></h3>
to this:
<h3>
<?php
if($row_WADAProducts["BottomPrice"] > 0 && $row_WADAProducts["TopPrice"] != $row_WADAProducts["BottomPrice"] ) {
echo("Starting At: $". number_format($row_WADAProducts["BottomPrice"],2));
} else {
echo("$". number_format($row_WADAProducts["ProductPrice"],2));
}
?>
<?php //echo(($row_WADAProducts["TopPrice"] != $row_WADAProducts["BottomPrice"])?" - $" . number_format($row_WADAProducts["TopPrice"],2):""); ?></h3>
Jason,
very clear reply - thanks!
Oh yeah, it worked perfectly!
Lisa
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.