Hello,
Thank you for contacting Rank Math and bringing your concern to our attention. I’m sorry for the delay and for any inconvenience this issue may have caused you.
Please note that the pricing should match everything, not only on the Schema but if you update the Schema to include the price with taxes, the data displayed to your users also needs to be the same.
If you want to force this in the Schema markup, you can add the following filter to the website:
add_filter( 'rank_math/snippet/rich_snippet_product_entity', function( $entity ) {
global $product;
$price_with_taxes = wc_get_price_including_tax($product);
$entity['price'] = $price_with_taxes;
return $entity;
});
Here’s a guide to adding the code to the website:
https://rankmath.com/kb/wordpress-hooks-actions-filters/
Hope that helps.
Thank 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.