Hi, I tried to find instructions how to get a new option added to the sort options. As default there is options to list products lowest / highest price.
On my Product List there is two Product Group items (Hybrid and Gravel bikes) listed on the page. I’d like to get this product list to sort only Hybrid or Gravel bikes.
The sort options are going to be quite tightly coupled to the fetching and sorting of the products in the product list block itself. So you’ll likely need to override the block’s controller (and view.php) to be able to add in the sorting you specifically need.
Sorting by the product groups could be quite tricky to be honest, as a product can be in multiple groups. It’s likely possible, but you might have to get a bit creative with how you go about it.
Okei, thanks for reply this. Sounds too complicate to me. Like you said I have to be a bit creative other way to list my product groups.