How do I filter my collection items?
dannytrann opened this issue · comments
I'm trying to use the buybutton.js to get the products in the collection which works totally fine! But the thing I want to do is filter and sort the items in the collection so the user can find something quicker.
You're going to want to use separate collections. There's no built in way to do it.
I've done this with a query string that loads the collection based on the collection id in the url and it works well.
You're going to want to use separate collections. There's no built in way to do it.
I've done this with a query string that loads the collection based on the collection id in the url and it works well.
Thanks for the confirmation on this. Wish there was a way for the embed to filter based on a tag or category by passing it as an option. Maybe in a future version.