We got an email from google search console telling us the following errors were found on our site:
Missing field “priceCurrency”
Missing field “lowPrice”
How would I go about fixing this? The website in question is: https://cobwebwinder.com/
It was build using Shopify.
Thankyou in advance!
1 Like
UmairA
2
Hi @AdarshMarketing ,
I visited the store but couldn’t find the error. Can you share the page link where the error appears?
Hi @AdarshMarketing ,
Please go to templates > product.liquid file, find ‘priceCurrency’ and change code:
Code:
"offers": [
{%- for variant in product.variants -%}
{
"@type" : "Offer",
{%- if variant.sku != blank -%}
"sku": {{ variant.sku | json }},
{%- endif -%}
"availability" : "http://schema.org/{% if variant.available %}InStock{% else %}OutOfStock{% endif %}",
"price" : {{ variant.price | divided_by: 100.00 | json }},
"priceCurrency" : {{ cart.currency.iso_code | json }},
"url" : {{ shop.url | append: variant.url | json }}
}{% unless forloop.last %},{% endunless %}
{%- endfor -%}
]
Hope it helps!
Hi LitCommerce
I have the same problem but the word “currency” doesn’t even appear in my product.liquid file. Please advise