D
D
DeniSidorenko2018-05-28 14:34:04
JavaScript
DeniSidorenko, 2018-05-28 14:34:04

What is the best way to make a filter?

Hello, please tell me how best to make a filter. There is a site on opencart, and the user selects the goods he needs through the checkbox and there is a button to apply the filter. I have seen two implementations. One where the user clicks and through ajax the page itself selects the products. The second way is through reloading the page when parameters are displayed in the address bar. Example. site.ru?catalog?ram=16gb?memory=512gb, etc.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vitaly, 2018-05-28
@rim89

1. Buy ready-made
2. If for some reason you are not satisfied with point 1 - write your own controller and database query model

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question