Hi,
Can you please advise where I would change the default search order, to show highest price first? This would be on the first page and on the merchant page
Thanks Richard
Hi Richard,
In search.php, look for the following code near the top (line 8 in the distribution):
$sort = (isset($_GET["sort"])?$_GET["sort"]:"relevance");
For highest price first as the default, change this to:
$sort = (isset($_GET["sort"])?$_GET["sort"]:"priceDesc");
Cheers, David.
©2006-2025 IAAI Software | Contact Us | Privacy Policy
Hi Richard,
In search.php, look for the following code near the top (line 8 in the distribution):
$sort = (isset($_GET["sort"])?$_GET["sort"]:"relevance");
For highest price first as the default, change this to:
$sort = (isset($_GET["sort"])?$_GET["sort"]:"priceDesc");
Cheers,
David.