eddy1992's avatar

Filter logic for ecommerce

Hi I am building an ecommerce website on laravel and I have a feature where I could filter products based on brands and price. So I wanted to know what would b the logic for adding a filter according to brands like normal ecommerce.

0 likes
1 reply
puzbie's avatar

On a site I just did I used javascript for the filtering and it worked a treat. Prior to entering the page that had the filters, the user would already have drilled down to a particular category, so I would be dealing with hundreds, rather than thousands of records. I passed the filter data by a json array, and was able to implement infinite scroll and filtering with relative ease. It led to a blindingly fast interface.

Please or to participate in this conversation.