No results found. Try again with different words?

Search must be at least 3 characters.

How To Configure WooCommerce With Schema Pro?

By default, WooCommerce adds Product schema for all product pages.

While Schema Pro provides the option to add Product schema too.

In case you add Product schema from Schema Pro on WooCommerce products pages, it will have duplicate product schema.

According to Google guidelines, a page should not have duplicate product schema.

You need to disable one of the schema source on WooCommerce product pages.

We recommend you to use Schema Pro’s Product schema. It provides more advanced option to generate rich results and is flexible to use.

You can disable the product schema added by WooCommerce with the following custom code.

Add this code to your child theme’s functions.php file.

/* Remove the default WooCommerce 3 JSON/LD structured data */
function remove_output_structured_data() {
remove_action( 'wp_footer', array( WC()->structured_data, 'output_structured_data' ), 10 ); // This removes structured data from all frontend pages
}
add_action( 'init', 'remove_output_structured_data' );

Here is a complete tutorial on how to add Product schema on with Schema Pro.

Related Articles –

How to Map Fields with Custom Fields from Third Party Plugins?

Was this article helpful?
Did not find a solution? We are here to help you succeed.

Related Docs

Scroll to Top