Home Forums WoodMart support forum Removing Certain Categories from Filters on the Store Page

Removing Certain Categories from Filters on the Store Page

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #628646

    Ecommerce
    Participant

    Hello,

    We will create many subcategories for SEO purposes. However, I don’t want these subcategories to appear in the Category Filter section on the store page. How can I prevent this? Images are attached.

    #628797

    Hello,

    Your site is not working. can you please share the wp logins details so i will further check on your site and give you a custom code.

    Best Regards

    #628804

    Ecommerce
    Participant

    Hello, the site is active. There may have been a brief access issue. I will send the admin details in a private message. It would be great if the requested feature can be implemented without using custom code. I’m waiting for your suggestion.

    #628833

    Hello,

    Please add below Custom CSS code to Theme Settings > Custom CSS > Global custom CSS:

    .widget_product_categories .product-categories .cat-item.cat-item-315 {
        display: none !important
    }

    Best Regards

    #628835

    Ecommerce
    Participant

    Do I need to write the category’s ID number to prevent it from being displayed, I couldn’t understand the code? How can I find the category’s ID number? Does the expression ‘.cat-item.cat-item-315’ represent the category ID number?

    Additionally, how can I prevent multiple subcategories from being displayed without adding them individually? What do I need to add to the code?”

    For example: .cat-item.cat-item-315; .cat-item.cat-item-316; .cat-item.cat-item-317

Viewing 5 posts - 1 through 5 (of 5 total)