I'm trying to replicate one of those "Order By" options that you see in eCommerce websites with Low Search.
The options usually are:
- Most Popular
- Price - High to Low
- Price - Low to High
I've worked out I could do something like:
<select name="orderby"> <option value="">Most Popular</option> <option value="date">Newest</option> <option value="matrix:price">Price - High to Low</option> </select>
But I'm struggling to understand how (Or if possible) to add the Price options in there along with a sorting option.
Also - the prices are set inside a Matrix field, so is it possible to order by using a Matrix field.
It would be good if you could combine the Order By and Sort parameters in EE, without needing to do 2 seperate selects.