Answer the question
In order to leave comments, you need to log in
How to sort products in minishop2 via msearch/mfilter?
Greetings!
You need to configure the sorting of products in the catalog using the mfilter add-on.
There are three options: popular, new and by price. Sorting by price somehow managed to be solved (data-sort="ms|price"), but with others - difficulties.
You need to output with respect to these options: That is, if the product has a designation as "
new ", it goes
up
, and products without it go down. nothing happened, they were displaying the same products
. Thanks in advance for all the help! :)
Answer the question
In order to leave comments, you need to log in
Add to mFilter2 call
&sort=`ms|price:desc, ms|popular:desc, ms|new:desc`
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question