Hello,
Thank you for contacting Rank Math support, and sorry for any inconvenience that might have been caused due to that.
This actually a bug coming from Google itself and they seem to have rolled out a fix already:
https://support.google.com/webmasters/thread/179252156/i-am-getting-error-in-my-merchant-listing-which-says-missing-field-pricetype?hl=en
Make sure both Rank Math and Woocommerce are updated, clear your website cache and check again in the Rich Result Test in the next few days.
If you wish to completely remove the priceSpecification that is causing the issue, you may refer to this filter code:
add_filter( 'rank_math/snippet/rich_snippet_product_entity', function( $entity ) {
unset($entity['offers']['priceSpecification']);
return $entity;
});
You can follow this guide for how to add the code snippet to your website: https://rankmath.com/kb/wordpress-hooks-actions-filters/
Let us know how that goes. Looking forward to helping you.
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.