You are here:  »  Sort by: Relevance


Sort by: Relevance

Submitted by Tobix on Mon, 2020-04-13 12:15 in

Because
Sort by: Relevance puts the products in alphabetical order (I put Brand + model + category)?
How can I default by example
Sort by: product rating so you have random items?

Submitted by support on Tue, 2020-04-14 06:28

Hi Tobix,

To make rating the default sort order, edit search.php and look for the following code at line 10:

  $sort = (isset($_GET["sort"])?$_GET["sort"]:"relevance");

...and REPLACE with:

  $sort = (isset($_GET["sort"])?$_GET["sort"]:"rating");

Cheers,
David.
--
PriceTapestry.com

Submitted by Tobix on Tue, 2020-04-14 12:45

now it works but does not give the desired result.
He takes both passwords making some mess. Searching for example Beko fridges you will also find beko washing machines, beko dryers etc etcc. We leave as you did which is better!