servetsarap Posted March 27, 2018 Share Posted March 27, 2018 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, Link to comment Share on other sites More sharing options...
tantan199 Posted March 28, 2018 Share Posted March 28, 2018 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> Link to comment Share on other sites More sharing options...
servetsarap Posted March 28, 2018 Author Share Posted March 28, 2018 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> 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 More sharing options...
tantan199 Posted March 29, 2018 Share Posted March 29, 2018 Your site is probably not running on the default theme. Contact the developer of your theme to know which file you need to edit. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now