You are here:  » Search showing highest price


Search showing highest price

Submitted by allanch on Wed, 2013-01-30 14:08 in

Hi David,

It's me again. I hope you're well. I have an odd problem in that the search results in search.php are showing the highest prices instead of lowest. I have re-imported feeds and I've checked the coding and I can't think of any modifications I made. The code that generates the price is:

$config_currencyHTML.$product["price"];

Any ideas on what is causing this? Thanks

Allan

Submitted by support on Wed, 2013-01-30 14:13

Hi Allan,

That sounds like you have a modification in place that is using:

$config_currencyHTML.$product["price"]

...within the result loop html/searchresults.php, however that should actually be:

$config_currencyHTML.$product["minPrice"]

...which should then display as expected!

Cheers,
David.
--
PriceTapestry.com

Submitted by allanch on Wed, 2013-01-30 15:52

Thanks David, it's me copy and pasting code without checking properly!