-
Hi,
We recently created a feed with Google Merchant and we got some errors mentioning a difference between site price and feed price.
It’s actually not wright, if you look on the front-end page, but if you check the code inspector you will notice that there a is a meta property under Rank Math, that contains the price without VAT – screenshot. And this is where Google is taking the different price.So I’m looking for a solution to display the price including VAT in the meta property=”product:price:amount”.
I tried to use this code:
add_filter( “rank_math/snippet/rich_snippet_product_entity”, function( $entity ) {
global $product;
$entity[‘offers’][‘price’] = wc_get_price_including_tax( $product );
return $entity;
});
from this ticket, but it doesn’t solve it.My page url is this.
Please help me out with a solution.
Many thanks
Alex
The ticket ‘Price meta property without VAT, confusing Google Merchant’ is closed to new replies.