Specific filters on specific categories?

This topic has 5 replies, 3 voices, and was last updated 2 years, 6 months ago ago by Jordan

  • Avatar: Jordan
    Jordan
    Participant
    May 16, 2022 at 15:02

    Hello, I want to know is it possible to hide specific filters from specific categories. For example i have Category 1 & Category 2. In both categories i have products with attribute colour and i have made a filter for colour. But in Category 2 i don’t want the clients to see or use filter by colour, i just want to disable that filter for that category, but still the other filters to be available for use.

    4 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    May 16, 2022 at 15:29

    Hello,

    It can be done using Custom CSS code. Provide us with URL of category and widget name, and we will give you the correct code.

    Regards

    Avatar: Jordan
    Jordan
    Participant
    May 17, 2022 at 10:01

    For example the category: https://estetiko.bg/product-category/kuhnya/kuhnenski-smesiteli/standartni-smesiteli/

    The filter is filtering the products by attribute, and the attribute slug is proizhod

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    May 17, 2022 at 12:36

    Hello,

    Add the below code to Theme Options > Custom CSS
    .tax-product_cat.term-standartni-smesiteli div#woocommerce_layered_nav-20 {display: none;}

    Regards

    Avatar: Jordan
    Jordan
    Participant
    May 17, 2022 at 12:51

    works perfectly thank you very much! 5 star support!

  • Viewing 5 results - 1 through 5 (of 5 total)

The issue related to '‘Specific filters on specific categories?’' has been successfully resolved, and the topic is now closed for further responses

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.