Hello,
Thanks for contacting us and sorry for any inconvenience that might have been caused due to that.
The issue is coming from a new feature called Merchant Listings Google has released recently: https://developers.google.com/search/blog/2022/09/merchant-listings
We are already aware of this and will soon implement this in our WooCommerce Product Schema. For now, please use the following filter to add the priceType field to the Schema:
add_filter( 'rank_math/snippet/rich_snippet_product_entity', function( $entity ) {
$entity['offers']['priceSpecification']['priceType'] = "Regular";
return $entity;
});
Here is how to add a filter to your site: https://rankmath.com/kb/wordpress-hooks-actions-filters/
Hope that helps. Let us know if you need any other assistance.
Hi Nigel,
That code doesnt solve the issue, however if you change it to this it resolves the priceType critical error
add_filter( 'rank_math/snippet/rich_snippet_product_entity', function( $entity ) {
$entity['offers']['priceSpecification']['priceType'] = "http://schema.org/ListPrice";
return $entity;
});
Hope this helps
Hello,
Thank you for helpful feedback. I will be helpful in future.
Please note that the “missing ‘priceType'” error turned out to be a bug in Google’s algorithm and they have started rolling out a fix so you can ignore the error now: https://support.google.com/webmasters/thread/179252156/i-am-getting-error-in-my-merchant-listing-which-says-missing-field-pricetype?hl=en
Hope that helps. Please let us know if you have questions.
Hello,
Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.
If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.
Thank you.