This topic has 8 replies, 4 voices, and was last updated 5 years, 1 months ago ago by John Holden
Hello, i still receive this problem on selection products in the google search console.
How can i resolve this issue ?
I tried to insert this code into the functions.php
/**
* Remove the generated product schema markup from Product Category and Shop pages.
*/
function wc_remove_product_schema_product_archive() {
remove_action( ‘woocommerce_shop_loop’, array( WC()->structured_data, ‘generate_product_data’ ), 10, 0 );
}
add_action( ‘woocommerce_init’, ‘wc_remove_product_schema_product_archive’ );
Thank you.
Alessandro.
Hello,
Please describe the problem in more detail and provide us with temporary wp-admin access.
Could you provide a link to the result of the test via google search console?
To be able to give you a solid response, I need to get more information about the problem.
Waiting for your reply.
Regards
Hello,
i send you the link where is in evidence the problem of the search console.
In the past with old version i haven’t this problem with the structured data of the products.
Thank you very much.
Best Regards.
Alessandro.
Hello,
WPSSO Schema JSON-LD Markup plugin generates the error on the single product page http://prntscr.com/pq7wd9 If the plugin is disabled you have only 3 warnings http://prntscr.com/pq7ww8 So, keep plugin disabled and start the new check.
What those warnings mean:
– your product does not have reviews and ratings http://prntscr.com/pq7xfn Once users leave the reviews and rating these 2 warnings for the product will disappear. Our theme is not responsible for how your users add the reviews/ratings.
– “This Product is missing a global identifier (e.g. ISBN, mpn or gtin8)” – WooCommerce does not have option to add the ISBN, mpn or gtin8, so if your products have this information and you want to add it look for an additional plugin if not then just ignore this warning.
In general, the theme is not responsible for schema for the products, it’s WooCommerce plugin area.
Regards
Thank you so much for your precious informations.
Leave the plugin disabled.
I am doing another review of the search console.
Best regards.
Alessandro
Hi,
If you have a quick minute we always appreciate a 5-star rating on our theme!
https://themeforest.net/item/xstore-responsive-woocommerce-theme/reviews/15780546
Your feedback is the motivation to improve our work and services.
Regards,
Hung PD
You must be logged in to reply to this topic.Log in/Sign up