javascript - BigCommerce: How to create custom filter? -
i want allow checkbox-filtering, such when particular checkbox 'checked', page show items corresponding checkbox property.
example) want products 'new', check box new products.
how can create kind of filter in bigcommerce? have tried url-api filter, granted didnt expect much, have @ least tried it.
i hoping way 'hide' other products if dont fall under checkbox's property.
you can write javascript you, main thing you'd need here somehow differentiate between product types.
example: designates product 'new' vs 'old'?
i happy write script react users interaction checkboxes, need html here products in order have our javascript recognize them.
can update question html examples of products or items want hide/show based on user interaction checkbox selector?