Jump to content

Rich Snippets Test Tool - Giving Price Warning PS 1.6.1.15


ScooterCk

Recommended Posts

I am in the process of upgrading my website from PS 1.4 to PS 1.6, my live PS 1.4 site passes Googles rich snippets tests without any errors.

 

However I am horrified to see that the home page and any category pagesm but not product pages on the new website fails on Price warnings "£ 54.99 (The property £ 54.99 is not a valid price specification. Find out more about http://schema.org/price.) ". 

 

If I run the test at a product page though it passes without any warnings ????

 

 

So if I run the test at the home page or category pages, i get the errors.

 

https://search.google.com/structured-data/testing-tool#url=www.console-wizard.com%2Fxbox

 

But if I run the test at any products page, i get no error (heres some examples)

 

https://search.google.com/structured-data/testing-tool#url=http%3A%2F%2Fwww.console-wizard.com%2Fxbox%2Fxbox-one-repairs%2F265-xbox-one-laser-bluray-not-reading-games-repair.html

 

https://search.google.com/structured-data/testing-tool#url=http%3A%2F%2Fwww.console-wizard.com%2Fxbox%2Fps4-repairs%2Fplaystation-4-ps4-hdmi-socket-port-repair-fix.html

https://search.google.com/structured-data/testing-tool#url=http%3A%2F%2Fwww.console-wizard.com%2Fxbox%2Fxbox-360-slim-repair%2Freball-lead-solder-bga.html

 

I have changed the Product.tpl file as per the below

 

https://www.prestashop.com/forums/topic/541792-price-issue-with-rich-snippets-prestashop-1410/

 

This is taken from that above post

The problem is in this line of code

<span id="our_price_display" itemprop="price" class="price">{convertPrice price=$productPrice}</span>

This will display the price including the currency symbol, for example $40.00

 

Google does not want the currency symbol in the price, so one thought is to remove itemprop="price" from that line

<span id="our_price_display" class="price">{convertPrice price=$productPrice}</span>

 

And instead use meta tags to provide the price and currency separately.  Something like this....

 

<meta itemprop="price" content="{$productPrice}" />
<meta itemprop="priceCurrency" content="{$currency->iso_code}" />

 

But this hasn't changed anything and I still get the warning??

 

I dont want to change to the new website to find the site is already being penalised before its even gone live?

 

 

Can anybody help please ???

 

Thank you

 

Scooterck

post-499611-0-24389900-1499806033_thumb.png

Edited by ScooterCk (see edit history)
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...