Hide Filter option for a specific collection

Hi there,

How can I hide a specific Filter option (i.e. Gender) for a specific collection.

I am asking this because there is no possibility to have multiple Filter combinations that can be picked per collection.

Website: https://venga-store.com/collections/festival-outfits-women

Theme: Dawn

Thanks for your help!

Hey @miltokas

Follow these Steps:

  1. Go to Online Store

  2. Edit Code

  3. Find theme.liquid file

  4. Add the following code in the bottom of the file above tag

{% for c in product.collections %}
{% if c.handle == "festival-outfits-women" %}

{% endif %}
{% endfor %}

RESULT:

If I managed to help you then, don’t forget to Like it and Mark it as Solution!

Best Regards,
Moeed

Hi @Moeed thanks for your answer.

In fact I don’t want to hide the all Filter, only one of the option, in this case the Gender.

Can I do it in the Custom CSS in the collection itself?