Can anyone advice me how to configure sorting in the front end base on backend sorting products configuration
Developer forum
Sorting Products using backend SORT PRODUCTS function
Replies
You must be logged in to post in the forum
Can anyone advice me how to configure sorting in the front end base on backend sorting products configuration
Hi Shiwanka
It depends... If you are using the index, then on the paragraph settings you can set this checkbox "Use group sort in group context":
Remember that showing a list a products is basically a search. It can be products mathing the search term, i.e. "bike" that holds products from many groups.
Also products can be in many groups - and each relation has its own sorting.
So in the situation above, when you use the index, and the index has a parameter "GroupID" and "Groupid=group1" (or /products/groupname when using friendly urls) is in the querystring, the index query will add a sort that uses the sort value for that specific group. You can see the result by adding "&debug=true and locate the query used for the search.
BR Nicolai
Working correctly
thanks
You must be logged in to post in the forum