开发者

Product filtering

开发者 https://www.devze.com 2023-03-22 14:30 出处:网络
At the moment my product catalog is displayed in ListView and I was wondering how I c开发者_开发技巧an do a product filter based on category, price range, etc. in text on my sidebar. Below is an examp

At the moment my product catalog is displayed in ListView and I was wondering how I c开发者_开发技巧an do a product filter based on category, price range, etc. in text on my sidebar. Below is an example of what I am referring to. I've tried googling for some answers but couldn't quite find what I wanted to do.

Product filtering


Perhaps you could make a string with the ID's of the selected products in. And insert that in your SQL Statement.

SELECT * FROM PRODUCTS WHERE CategoryID = (idString) AND Price = (idString);

0

精彩评论

暂无评论...
验证码 换一张
取 消