Hi David,
I'm looking to make a change to how my products are displaying in the search results. I'd like to have the highest price products showing first. I know this is probably and easy fix, but don't know if changes need to be made on PT, as well as in the WP plugin. Please let me know...thanks!
{link saved}
Hello Brent,
For the plugin, it's line 342 of pto.php where you'll find the following code:
$pto_sort = (isset($pto_sort)?$pto_sort:"relevance");
To default to price high-low, REPLACE the above line with:
$pto_sort = (isset($pto_sort)?$pto_sort:"priceDesc");
For a standalone Price Tapestry installation, it's line 10 of search.php where you'll find this code:
$sort = (isset($_GET["sort"])?$_GET["sort"]:"relevance");
...REPLACE with:
$sort = (isset($_GET["sort"])?$_GET["sort"]:"priceDesc");
Cheers,
David.
--
PriceTapestry.com