Have your say in Community Polls: What was/is your greatest motivation to start your own business?

How can I code a selected filter on a collection page?

How can I code a selected filter on a collection page?

cty467
Shopify Partner
3 0 0

Hello! Does anyone how to code: if filter is selected? E.g. if any filter on collection page is selected, then do this. Image below of what I mean:

 

cty467_0-1707959147330.png

 

I've tried: if collection.current_tags, but doesn't seem to work. 

 

Replies 0 (0)