Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Tim van Iersel

    (@timvaniersel)

    I just created a testing environment to reproduce the issue. I’ll let you know as soon as I have a solution that works correctly.

    Plugin Author Tim van Iersel

    (@timvaniersel)

    Hi Sergeyua12,

    I’ve tried to reproduce the issue with the code provided earlier. For me this was a fix.

    Woocommerce currently places Schema as JSON-ld instead of microdata (that is used on your website for product schema). Which version of Woocommerce are you using?

    It’s also possible that your current theme overrides Woocommerce default templates.

    Thread Starter sergeyua12

    (@sergeyua12)

    1Tim van Iersel,
    WooCommerce Version 3.6.4, but very truncated in theme.

    Plugin Author Tim van Iersel

    (@timvaniersel)

    Based on your WooCommerce version and the date when the theme was first released I assume it’s hard coded in the theme templates. There aren’t many options for us to remove it.

    Solution 1:
    The simplest way of removing it is by removing all microdata with this plugin.

    Personally I wouldn’t recommend this option as it could slow your website a bit down and is quit a aggressive way to remove the schema.

    Solution 2:
    Nicer solutions is to create a child theme where you remove all schema. I don’t know if this is easily done because I don’t have a copy of the theme.

    Solution 3:
    The ideal solution is to ask the authors of the theme to update the WooCommerce templates.

    As described in the WooCommerce template files:

    This template can be overridden by copying it to…

    HOWEVER, on occasion WooCommerce will need to update template files and you (the theme developer) will need to copy the new files to your theme to
    maintain compatibility. We try to do this as little as possible, but it does
    happen. When this occurs the version of the template file will be bumped and
    the readme will list any important changes.

    Thread Starter sergeyua12

    (@sergeyua12)

    Thanks for attention.
    Unfortunately for me, today it is difficult.
    I will try Options 2 and 3 …

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Remove product schema generated WooCommerce’ is closed to new replies.