Can you make product categories that are NOT inside the "Shop sidebar widget"?

This topic has 4 replies, 3 voices, and was last updated 3 years, 11 months ago ago by Olga Barlow

  • Avatar: jancaerels
    jancaerels
    Participant
    January 6, 2021 at 10:37

    On the shop it is very useful that we have this widget for navigating the product categories.
    e.g.
    > Shoes
    >> Sneekers
    >> High Heels
    > Shirts
    >> Regular Tshirts
    >> V-neck shirts
    >> Long sleeve shirts

    I’d like to make clean categories for special filters (in my case: Red regular tshirts for example).

    BUT: I don’t want these categories to show inside the “Shop sidebar widget” (Product categories).

    Is there a way to exclude certain categories from this list somehow?

    Please, contact administrator
    for this information.
    3 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    January 6, 2021 at 11:46

    Hello,

    Add the next code in Theme Options > Theme custom CSS:

    .widget_product_categories.sidebar-widget .cat-item-65 {
        display: none;
    }

    https://prnt.sc/whffbq

    Regards

    Avatar: jancaerels
    jancaerels
    Participant
    January 6, 2021 at 12:23

    Hi Rose,

    Thank you for your reply.
    I can work my way with CSS, but for SEO purposes I’d like to keep the code clean, so the solution I seek is to remove it from the HTML entirely.

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    January 6, 2021 at 16:35

    Hello,

    There is no special option for this. You can submit customization request here to get help with PHP customization.

    Regards

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

You must be logged in to reply to this topic.Log in/Sign up

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