Answer the question
In order to leave comments, you need to log in
How to make a product filter in yii2?
Hello everyone, an online store is being made on yii2, tell a noob how to properly organize a product filter on the site, if you have work to do, then please throw it in for a detailed study.
1 - I don't know and I don't understand the filter by price, how to make such a strip
2 - and what to do with checkboxes, what is sent where
And all this must be done through ajax
Thanks in advance.
Answer the question
In order to leave comments, you need to log in
The usual SearchModel that gii generates, only the layout is different. Your gii generates the view "_search", so comb it. For ajax - just wrap the widget in pjax.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question