Hi guys –
Does your plugin have these schema properties for Woocommerce products?
Hello @joyryde,
Thank you for contacting the support and sorry for any inconvenience that might have been caused due to that.
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.rankmath.com/Ni50EF
If you don’t have any reviews yet, that is going to show up as a warning in the Schema testing tool. That’s because Google will actually look for those fields.
Please acquire some reviews and ratings to get rid of the aggregateRating
and review
warnings.
You can fix the SKU and availability issue quickly as well: https://i.rankmath.com/wtM5aM
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.
https://i.rankmath.com/N1Txmh
If you want to use a custom value for your Brands, you can do that using Rank Math PRO:
https://i.rankmath.com/OFoEnt
For the GTIN, ISBN, MPN issue, you can fix them by switching to Rank Math PRO as well since it includes even more options for WooCommerce than our free version:
https://i.rankmath.com/OFoEnt
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.
Thank you SO MUCH for all of this, I will make these updates immediately.
Hello @joyryde
Glad that helped.
If it isn’t too much to ask for – would you mind leaving us a review here?
https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post
It only takes a couple of minutes but helps us tremendously.
It would mean so much to us and would go a really long way.
Thank you.
In your Pro version you sent a link to (https://i.rankmath.com/OFoEnt), I don’t see how the settings would know where to pull the GTIN from. Ours is in a field called hwp_var_gtin but your settings do not appear to ever ask where to pull the GTIN from within Woocommerce.
The error Google reports is No global identifier provided (e.g., gtin, mpn, isbn).
Our prior schema plugin pulled it from hwp_var_gtin
Hello @joyryde
The option we added in the PRO will add a new field in WooCommerce Product metabox to enter the GTIN value.
To use value from the custom field, please add the following filter code in functions.php file:
add_filter( 'rank_math/snippet/rich_snippet_product_entity', function( $entity ) {
global $post;
$entity['gtin8'] = get_post_meta( $post->ID, 'hwp_var_gtin', true );
return $entity;
});
Hope that helps. Thank you.
Could we possibly pay you to help us extract the 9,000 existing GTIN’s from our database from the other plugin, and then put them all into your field, so we can eliminate the other plugin?
We tried using the default Woocommerce product export to get them, but the Hostgator server doesn’t allow enough memory to export our products, it fails every time.
Hello @joyryde
Sorry to disappoint but as much as we want to help you, we are not taking any custom work at this time.
With that said, maybe you can purchase a VPS, move your data there, and then make the edits. Once that is done, you can move your data back to your current hosting.
Otherwise, you would need to hire a freelancer to help you with your task.
Please let us know if there’s anything else we can help you with. We are here to assist.
Thank you.