Hi
I receive a message from Google saying that I have a problem with my price
inaccurate price status due to inconsistency between feed and landing page
In fact the price is changing a little bit depending on the taxes of the country....
The price shown is the price with the VAT of Germany 19% but the price you see in my website with the french feed is with 20% VAT so a price a bit higher. That's why there is a small difference.
In my feed that I send to google I use this code
<g:price>{{ product.price | money_without_currency }} {{ shop.currency }}</g:price>
Is it possible to change this code and have the price with the VAT of the country of the customer?
If not how can I fix this problem ?
Thanks in advance for your help.
Best regards
Elise
Hi @elise4,
You can use following code:
{%- if request.page_type == 'product' -%}
<meta property="og:price:amount" content="{{ product.price | money_without_currency | strip_html }}">
<meta property="og:price:currency" content="{{ cart.currency.iso_code }}">
{%- endif -%}
Refer https://github.com/Shopify/dawn/blob/main/snippets/meta-tags.liquid
The code is supported by Dawn theme, it is Shopify standard theme so everything should work fine.
Hope it helps!
User | RANK |
---|---|
37 | |
35 | |
13 | |
9 | |
8 |