Jump to content

Error at product schema


servetsarap

Recommended Posts

When I check my website via "Google Structured Data Testing Tool", all my products have an error with the price. You can see it with the attachment. I couldn't find how can I solve it. I think schema doesn't accept to show currencies with the symbols but I don't know how can I correct it. I need your help.

Regards,

offer.jpg

Link to comment
Share on other sites

The price value for google rich snippets should not contain currency symbol.
See attached picture, you need to edit somewhere in your theme files to achieve that.

<span class="price" itemprop="price" content="{if !$priceDisplay}{$product.price}{else}{$product.price_tax_exc}{/if}"></span>

 

Screenshot00075.jpg

Link to comment
Share on other sites

3 hours ago, tantan199 said:

The price value for google rich snippets should not contain currency symbol.
See attached picture, you need to edit somewhere in your theme files to achieve that.


<span class="price" itemprop="price" content="{if !$priceDisplay}{$product.price}{else}{$product.price_tax_exc}{/if}"></span>

 

Screenshot00075.jpg

Thank you for your answer. Yes you are right. I have to remove currency symbol but I'm newbie at coding. Which file should I edit to correct this? And which code?

Regards,

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...