• Resolved steadi22

    (@steadi22)


    Hello, on my woocommerce shop, when I select a product, on his page actually I visualize this as breadcrumbs:

    HOMEPAGE ICON > CATEGORY PRODUCT

    I would like to have

    SHOP > CATEGORY PRODUCT
    or
    HOMEPAGE ICON > SHOP > CATEGORY PRODUCT

    In alternative, mantaining HOMEPAGE ICON, but change its URL on Shop URL.

    Is it possible?
    I tried these solutions
    https://docs.woocommerce.com/document/customise-the-woocommerce-breadcrumb/
    , inserting on function.php file these rows

    /**
    * Replace the home link URL
    */
    add_filter( ‘woocommerce_breadcrumb_home_url’, ‘woo_custom_breadrumb_home_url’ );
    function woo_custom_breadrumb_home_url() {
    return ‘https://woocommerce.com’;
    }

    but nothing happens: HOME ICON goes always to homapage.

    Many thanks!

Viewing 1 replies (of 1 total)
  • Plugin Author Kaira

    (@kaira)

    Hi @steadi22

    Unfortunately StoreCustomizer doesn’t offer any functionality to deal with the WooCommerce breadcrumbs.

    I think using the Breadcrumb NavXT plugin will help you to achieve what you’re wanting.

    Thanks

Viewing 1 replies (of 1 total)
  • The topic ‘URL change on homepage icon breadcrumb’ is closed to new replies.