Viewing 16 posts - 1 through 16 (of 16 total)
  • Author
    Posts
  • #1147291

    Hi there,

    I have been trying to work out why my WooCommerce pages do not output the breadcrumb microdata that WooCommerce includes by default. Google has recently made changes that make correct Breadcrumb schema very important. It turns out Enfold is blocking them for some reason, in enfold/config-woocommerce/config.php:

    line 273: remove_action( 'woocommerce_before_main_content', 'woocommerce_breadcrumb', 20, 0);

    Are you able to shed any light as to why this is removed and please look to fix this in the next Enfold release?

    Thanks,
    Jason

    #1147539

    Hey Jason,

    You can add this action back by adding it to the functions.php file if you need:

    
    add_action( 'woocommerce_before_main_content', 'woocommerce_breadcrumb', 20, 0);
    

    Best regards,
    Victoria

    #1147569

    Thanks Victoria,

    This adds a duplicate breadcrumb in the wrong place.

    Is it possible to get a proper fix where we get the breadcrumb schema and a single correct breadcrumb?

    Due to Google pushing breadcrumb schema this is going to become a hot SEO issue.

    Thanks,
    Jason

    #1148203

    Hi,

    When you add this, you need to remove the existing breadcrump.
    Are you doing this with Yoast SEO for example?

    Best regards,
    Basilis

    #1148356

    Hey Basilis,

    There are two things at play here:
    – the breadcrumb
    – the breadcrumb schema data injected by Woocommerce

    Because Enfold disables the stock Woocommerce breadcrumb to insert it’s own, it also inadvertently disables the schema data. If I use the snippet above I get the breadcrumb data but two breadcrumbs on the page.

    Hope this clarifies the problem.
    Jason

    #1149975

    Hi,

    You can modify / remove ours and play with any other way you need so u have the proper one ;)

    Best regards,
    Basilis

    #1150000

    Sorry but that link does not have information to resolve this problem, and I’m asking for a permanent fix. Due to the recent increase in importance of breadcrumb microdata (it’s now used in serps) thus should be a no brainer?

    Jason

    #1150568

    Hi Jason,

    Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look?

    Best regards,
    Victoria

    #1151326

    I do not allow remote access to my website for privacy and security reasons.

    You should be able to reproduce this on a stock install of wooocommerce/enfold.

    #1151922

    Hi,

    We do not see the issue we need access so we can be able to see the problem exactly and how it comes.

    Best regards,
    Basilis

    #1152179

    Check your own demo – https://kriesi.at/themes/enfold-shop/product/casual-collection/

    There should be a breadcrumb json-ld tag inserted by WooCommerce.

    Cheers,
    Jason

    #1153081

    Hi,

    Thank you for the update.

    The Woocommerce breadcrumb is disabled by default because the theme has its own breadcrumb option. If you want to bring the plugins’s breadcrumb back, please follow @victoria‘s suggestion above, then go to the Enfold > Header > Header Layout and set the Header Title and Breadcrumbs to the second or fourth option to disable the default breadcrumb from the theme.

    Best regards,
    Ismael

    #1153159

    I don’t want to disable the theme breadcrumb.

    I am suggesting that the theme should not break the Woocommerce JSON-LD breadcrumb.

    #1154833

    Hi,

    Sorry for the delay. As suggested above, you can add the following snippet in the functions.php file to bring back the plugin’s breadcrumb option, including the JSON-LD markup.

    add_action( 'woocommerce_before_main_content', 'woocommerce_breadcrumb', 20, 0);
    

    Best regards,
    Ismael

    #1155131

    Again, I said above, this causes double breadcrumb to be inserted.

    I am asking for a permanent fix to the plugin. Today Breadcrumb schema is critical for SEO. Enfold should work out of the box.

    Jason

    #1155459

    Hi,

    We will forward the request to the team. For now, you can either disable the theme’s breadcrumb and add the snippet above to enable the breadcrumb from the plugin, or leave the default breadcrumb enabled.

    Best regards,
    Ismael

Viewing 16 posts - 1 through 16 (of 16 total)
  • You must be logged in to reply to this topic.