
Yoast SEO JSON-LD Schema Data is included in every WooCommerce page. This includes single product pages. You may want to remove Yoast Schema data on Woocommerce single product pages because the Structured Data added by Yoast is not related to a product and instead use the default WooCommerce product Structured Data.
Why you should disable Yoast Schema on WooCommerce Products
It is important to note that search engine like Google may penalize your website if they notice that you are using a structured data that is not related to what is in the page. For example, showing article schema data in a product page. Read more structured data Google penalties.
How to remove Yoas SEO structured on WooCommerce Products
To remove yoast plugin schema data on product pages follow the procedure below:
- Copy this code from our ask forum
- Go to your wordpress theme
- Locate the functions.php file
- Copy and paste the code above to the bottom of functions.php file
- Test if Yoast structured data has been removed.
The code is supposed to remove Yoast SEO schema on product pages only.
Go to Google Structured Data testing tool and test whether Yoast schema on product has been removed.
Here is out test before after installing the plugin or using the code.
Google Structured Data testing tool results before installing remover plugin or code

Google Structured Data testing tool results after installing remover plugin or code

Let us know if you notice any error or if the plugin or code is not working.
Got questions on blogging tools, this post, or anything else related to website technologies, we are responding at Blogiestools Ask Community.