• Resolved Gemini23

    (@gemini23)


    Does Woocommerce include schema for products?
    If using woocommerce for events – is it possible to turn off the ‘products’ schema?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @gemini23

    Yes, WooCommerce, by default, adds product schema. The following code can disable it. You can add it to functions.php of your theme (preferably child theme).

    add_filter( 'woocommerce_structured_data_product', '__return_empty_array' );
    Plugin Support Shameem R. a11n

    (@shameemreza)

    Hi @gemini23

    Yes, WooCommerce does include schema markup for products. This is an important feature that helps search engines understand the content on your website, and it is automatically added to your product pages. This can greatly improve your visibility on search engine results pages and enhance your SEO efforts.

    If you’re using WooCommerce for events and wish to turn off the ‘products’ schema, it’s possible, but it would require a little bit of coding.

    Unfortunately, custom coding is not something we can assist with directly. However, you can use the snippet shared by @anandau14 .

    If that snippet doesn’t work, or you have any further questions on development or custom coding, don’t hesitate to reach out to some of the great resources we have available for support. Our WooCommerce community is brimming with skilled open-source developers who are active on the following channels:

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Can product schema be turned off?’ is closed to new replies.