Hello,
I have updated the sensitive data as requested. Can you please check further?
Thank you.
Hello,
Rank Math takes the schema data from your product pages automatically and turns it into Schema-ready content. Likewise, the aggregateRating and review fields are taken from your actual product reviews that your buyers/customers leave on your products.
![](https://i.mythemeshop.com/cIBqH4+)
You can fix the SKU and availability issue easily as well:
![](https://i.mythemeshop.com/3MmkPe+)
To fix the brand
warning, head over to WordPress Dashboard > Rank Math > General Settings > WooCommerce
and choose from any of the available fields to use as your product’s brands.
![Brand Value](https://i.mythemeshop.com/S44TWj+)
If you want to use a custom value for your Brands, you can do that by using the following code in your theme’s functions.php file:
// Add Brand for Products.
add_filter( 'rank_math/snippet/rich_snippet_product_entity', function( $entity ) {
$entity['brand'] = 'Rank Math;
return $entity;
});
Replace the “Rank Math” text with your actual brand name then run your website through the Structured Data Testing tool once again.
Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.
Warning No global identifier specified (e.g. gtin, mpn, isbn)
Not started – 130
Warning Missing field “priceValidUntil”
Not started – 106
Hello,
Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.
For the GTIN, ISBN, MPN issue, you can fix it by adding that to your products using the custom product attribute feature in WooCommere or you can use this plugin: https://wordpress.org/plugins/product-gtin-ean-upc-isbn-for-woocommerce/
For the priceValidUntil warning, you have to either ignore that or add a sale price with validity to get rid of it: https://i.rankmath.com/cMqAAH
Hope that helps and please do not hesitate to let me know if you need our assistance with anything else.
I Have already installed the plugin gtin, i fill all the fields, but serach console always returns the same error
Hello,
Could you try with this plugin: https://wordpress.org/plugins/wpsso-wc-metadata/ ? It lets you set by yourself the Gtin in the Edit Product page so you can be sure it will be added (don’t forget to disable the other plugin we told you before to avoid conflicts).
Looking forward to help you.
I tried with this plugin but the error remains. I tried to enable mpn, gtin, gtin13. obviously updating the product page. nothing, search console returns the same error
Hello,
Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.
The login link provided doesn’t seem to work. Please update the access so we can investigate this issue further.
Looking forward to helping you. Thank you.
Hello,
I have updated the sensitive data as requested. Can you please check further?
Thank you.
I Have update sensitive data
Hello,
I have just added this code at the end of the functions.php code and now your issue with the Gtin is fixed, could you check it?
add_filter( 'rank_math/snippet/rich_snippet_product_entity', function( $entity ) {
global $product;
$gtin = $product->get_meta( '_wpm_gtin_code' );
$entity['gtin8'] = $gtin;
return $entity;
});
Looking forward to help you.
thanks, it works fine now
Hello,
We are glad that has worked for you.
Please let us know if we can set this as resolved and close the thread.
If you have any further question(s), please let us know. Thank you.