• Resolved streamworksaudio

    (@streamworksaudio)


    We recently moved to the Kadence theme and we are very impressed thus far.

    I am doing some tests with my local sandbox. I am trying to create an Elementor product page template and use it instead of the default theme template. I notice that when I do the Kadence theme’s breadcrumb is still printed on the screen all though in a different place on the page where half of it is covered by the header.

    I can correct this by going into the customizer and turning on the Breadcrumb for product pages, I am just wondering if this is a bug as I thought that the Elementor template was to replace what ever the theme is trying to do (for product pages in this case).

    Cheers,
    Chris

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hey, the breadcrumbs on product pags are hooked into the product template through the “woocommerce_before_single_product” hook which is part of woocommerce core. When you replace the template in elementor I assume this hook is still part of that template because it’s an important hook for woocommerce product pages. That would be why you need to turn the setting off even if you are adding your own template through elementor.

    I’ll check into this perhaps I can make the logic smarter around this ??

    Ben

    Thread Starter streamworksaudio

    (@streamworksaudio)

    Thanks for the reply Ben,

    I assume when you talk about the Breadcrumbs being hooked into ‘woocommerce_before_single_product’ I assume you mean that is how Kadence does it? As the core template for WooCommerce only hooks the ‘woocommerce_output_all_notices’ function on that hook.

    If so, is it a custom function that Kadence runs to show the breadcrumbs or is it WooCommerce’s own ‘woocommerce_breadcrumb’. If I know the function that us used I can add a remove_action to our own custom plugin to remove the breadcrumbs.

    I am not sure exactly how or when Elementor is hooking into to replace the WooCommerce template, perhaps the same ‘woocommerce_before_single_product’ hook?

    Cheers

    hannah

    (@hannahritner)

    Hi @streamworksaudio,
    Apologies for the delay! I will send this to the developer and have him determine the correct function for you.
    Thanks for your patience!

    Kindly,
    Hannah

    Hey so looking through elementor pro code they are calling the woocommerce_before_single_product hook. I am working on a check to basically disable the breadcrumbs if the template is an elementor template. For the time being, turning them off from the theme options will work best.

    Ben

    Thread Starter streamworksaudio

    (@streamworksaudio)

    Thanks Ben!

    Thread Starter streamworksaudio

    (@streamworksaudio)

    Just thought I would follow up to say that this has been fixed in latest update.

    Thanks again!

    hannah

    (@hannahritner)

    Glad to hear it! Thanks for following up:)

    All the best,
    Hannah

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Elementor Product Template and Kandence Breadcrumb’ is closed to new replies.