I have a featured collection on the home page.
I want to filter the collection by a tag when the customer interacts with one of my custom html buttons.
Can’t work out how to filter the collection in liquid.
Can someone point me in the right direction?
Attached screenshot of what I am trying to achieve (I have prototyped in html/liquid). All the country filters are horizontal. When customer hits a flag, I want to filter the collection by product tag accordingly.
I wouldn’t personally do it like this, but I have to copy a non-Shopify site. Any help much appreciated.

