V
V
Victor Umansky2017-07-02 21:41:38
Yii
Victor Umansky, 2017-07-02 21:41:38

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.
194c3957991d49d1aeb9c8eb2da687df.jpg

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Timofeev, 2017-07-02
@Uman

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 question

Ask a Question

731 491 924 answers to any question