Remove Category from breadcrumbs on the product archive page

This topic has 12 replies, 3 voices, and was last updated 1 years, 4 months ago ago by Rose Tyler

  • Avatar: phatair
    phatair
    Participant
    November 22, 2022 at 21:46

    Hello,
    is there any chance to remove the category from the breadcrumbs if i’m on the category site?
    https://i.imgur.com/KikMFtp.png

    Thanks.
    Best regards

    11 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    November 23, 2022 at 05:54

    Hello,

    There is no option to remove the category from the breadcrumbs. If you have PHP skills you may try to customize breadcrumbs in child theme.

    Regards

    Avatar: phatair
    phatair
    Participant
    November 23, 2022 at 14:54

    Hi Rose,

    i added some more information to the private content area.

    Please contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    November 23, 2022 at 15:30

    Hello,

    Theme Options > Breadcrymbs > Breadcrumbs-Stil > Linke Inline , and add the next custom CSS code:

    .woocommerce-breadcrumb .title {
        display: none;
    }

    Regards

    Avatar: phatair
    phatair
    Participant
    November 23, 2022 at 16:56

    Thanks Rose.
    there is just one small problem.

    I added the info to the private content area

    Please contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    November 24, 2022 at 08:07

    Hello,

    Please read this article – https://woocommerce.com/document/permalinks/
    If you can’t save Permalinks settings, you need to contact the support of WordPress.

    Regards

    Avatar: phatair
    phatair
    Participant
    November 24, 2022 at 12:08

    Hi Rose,

    if i set the Custom Base für Product Permalinks to /shop/ the breadcrumbs on the product page looks fine
    home -> shop -> categorie

    But on the product archive page it looks like
    home -> shop -> shop -> categorie

    How can i fix this?
    At the moment i can not set the Product permalink to “default”. i have to check this with the woocommerce support. But why is XStore showing “shop” twice on the product archive page.

    If i change the theme to (for example hello) the breadcrumbs are fine, without the double “shop”.

    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff
    November 24, 2022 at 12:45

    Hello, @phatair,

    Ok, Your issue has been solved please check back to your site now after removing the browser cache: https://postimg.cc/FdR3V4W7 I have changed the shop permalinks as shown in this screenshot: https://postimg.cc/R3rvTQgf

    Regards 8Themes Team.

    Avatar: phatair
    phatair
    Participant
    November 24, 2022 at 12:51

    Hi Tony,

    thanks but its not solved.
    Now it looks ok on the product archive page but not on the single product page.
    On the single product page its Home -> Category but it should be Home -> Shop -> Category

    https://i.imgur.com/kqiUXfq.png

    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff
    November 24, 2022 at 13:01

    Hello, @phatair,

    I see, but unfortunately, this is not possible as this is the default behavior of our theme, our theme does not have any special settings for the product’s permalinks. All the available WooCommerce settings you can find in Settings > Permalinks > Product permalinks.

    You can submit a feature request here https://www.8theme.com/taskboard/, so our dev team read it.

    Regards 8Themes Team.

    Avatar: phatair
    phatair
    Participant
    November 24, 2022 at 20:33

    Hi Tony,
    thats not completly true 😉

    I found the solution and this was posted by you here:
    https://www.8theme.com/topic/shop-page-with-single-product-problem-to-customize/

    I can set the custom Permalink to /shop/ and the correct breadcrumb path is shown on the product archive and the single product page.

    I have to add this CSS on the page and the double “shop” is gone

    .woocommerce-breadcrumb a:nth-child(3){display:none !important;}
    .page-heading .delimeter:nth-child(2){display:none !important;}
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    November 25, 2022 at 04:56

    Hello,

    Thanks for letting us know.
    Yes, you can use this solution.

    Regards

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

The issue related to '‘Remove Category from breadcrumbs on the product archive page’' has been successfully resolved, and the topic is now closed for further responses

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