Jump to content

Schema.org markup error: missing price


Recommended Posts

Hello,

 

according to Google Webmaster Tools, ALL products on my shop have a markup error, which is 

 
Missing: price
 
If I click the schema details for the products, I noticed this:
 
offers
price: 39,90 €
priceCurrency: 0
 
It looks like there might be a currency issue ( I only use Euros in my shop). How could I fix this?
 
The strange thing is, when I use the structured data testing tool, it does display rich snippets with the price displayed correctly, but still I have errors for all products.
 
Any idea or advice?
 
Thanks in advance for your help!
 
Dan
 
 
 

 

  • Like 1
Link to comment
Share on other sites

I think one main issue is that you can only have one product markup per page and if you have multiple offers, it has to be multiple offers for the same product. All of your quick view products have stuctured data and it is causing confusion. 

  • Like 1
Link to comment
Share on other sites

Hi, I just sent you my website by PM.

 

I am wondering about why the schema information shows up in the product listing page (category) in the first place, with multiple offers on one page. I had assumed offer information would only show up on the product detail page.

 

Also, I am not using quickview, I had it briefly activated, but not anymore. So unless having it temporarily enabled caused problems, I don't know.

 

Could the canonical url cause problems, that it causes Google to wrongly index the schema information?

 

All the best,

 

Dan

Link to comment
Share on other sites

  • 2 weeks later...

Ahh, I answered this question on Moz's forum the other day, http://moz.com/community/q/help-with-schema-org-on-ecommerce-products#reply_240357  You can only have one product per page. You can have more than one offer, but the offers have to be for the same product with different sellers basically. 

 

Something the default definitely does wrong then, as it lists all the items on a category page as offer. The schema information needs to be removed from the category tpl file.

 

I think I will submit this as a bug on forge, what do you guys think?

 

Also, I looked at the tpl file to see if I could remove the schema information, but it's rather tricky to figure which lines to delete or comment out.

  • Like 1
Link to comment
Share on other sites

Personally I would just leave it. It is an error and not correct, but at any time it will more than likely change and you will be ahead of the curve. I cannot see it hurting anything by leaving it. 

Link to comment
Share on other sites

Personally I would just leave it. It is an error and not correct, but at any time it will more than likely change and you will be ahead of the curve. I cannot see it hurting anything by leaving it. 

 

Hi DH42,

 

thanks for this great piece of insight, I'll just leave it in then. The only thing that needs fixing then is the missing priceCurrency information on the product-listing.tpl page, in the default template, when I look at the source code, it shows priceCurrency="0" instead of ="EUR"

Link to comment
Share on other sites

UPDATE: Hi everyone, I just noticed something else that is odd about the markup on the default template. I ran the page through Bing Webmaster Tools, and notice this strange snippet:

 

Type: http://schema.org/Offer
price: 59,95 €#TAB##TAB##TAB##TAB##TAB##TAB##TAB##TAB##TAB#
priceCurrency: EUR

 

The price information seems to be pretty screwed up. I don't know if it affects the snippet and if Bing is able to decode it correctly, but it looks like it's not properly coded.

Link to comment
Share on other sites

  • 2 weeks later...

I have the same thing here too. http://www.cutenkinky.com I have USD and CAN currencies enabled on my site.

 

Google has multiple items for the same product

 

Item 
type: http://schema.org/product property:   url: http://www.cutenkinky.com/chemises-and-camis/411-two-color-long-sleeve-diamond-net-mini-dress.html image: http://www.cutenkinky.com/516-home_default/two-color-long-sleeve-diamond-net-mini-dress.jpg offers:
Item 1
name: Two Color Long Sleeve Diamond Net Mini Dress url: Two Color Long Sleeve Diamond Net Mini Dress description: Diamond net and opaque long sleeve mini dress. offers:
Item 2
url: More offers:
Item 3
Error: Incomplete microdata with schema.org.
 
 
Bing looks like this
 

This only seems to be a problem in the product-list.tpl file. The actual product pages look just fine. Also, if you are using featured products on the home page that will show these errors too.

Link to comment
Share on other sites

  • 3 weeks later...

I removed this from tpl and now working ok: :)

 

<!--<span itemprop="offers" itemscope itemtype="http://schema.org/Offer" class="availability">
{if ($product.allow_oosp || $product.quantity > 0)}
<span class="{if $product.quantity <= 0}out-of-stock{else}available-now{/if}">
<link itemprop="availability" href="http://schema.org/InStock" />{if $product.quantity <= 0}{if $product.allow_oosp}{$product.available_later}{else}{l s='Out of stock'}{/if}{else}{if isset($product.available_now) && $product.available_now}{$product.available_now}{else}{l s='In Stock'}{/if}{/if}
</span>
{elseif (isset($product.quantity_all_versions) && $product.quantity_all_versions > 0)}
<span class="available-dif">
<link itemprop="availability" href="http://schema.org/LimitedAvailability" />{l s='Product available with different options'}
</span>
{else}
<span class="out-of-stock">
<link itemprop="availability" href="http://schema.org/OutOfStock" />{l s='Out of stock'}
</span>
{/if}
</span>-->

and also :

 

<!--<meta itemprop="priceCurrency" content="{$priceDisplay}" />-->
 <meta itemprop="priceCurrency" content="AUD" />
Link to comment
Share on other sites

  • 2 months later...

 

I removed this from tpl and now working ok: :)

 

<!--<span itemprop="offers" itemscope itemtype="http://schema.org/Offer" class="availability">
{if ($product.allow_oosp || $product.quantity > 0)}
<span class="{if $product.quantity <= 0}out-of-stock{else}available-now{/if}">
<link itemprop="availability" href="http://schema.org/InStock" />{if $product.quantity <= 0}{if $product.allow_oosp}{$product.available_later}{else}{l s='Out of stock'}{/if}{else}{if isset($product.available_now) && $product.available_now}{$product.available_now}{else}{l s='In Stock'}{/if}{/if}
</span>
{elseif (isset($product.quantity_all_versions) && $product.quantity_all_versions > 0)}
<span class="available-dif">
<link itemprop="availability" href="http://schema.org/LimitedAvailability" />{l s='Product available with different options'}
</span>
{else}
<span class="out-of-stock">
<link itemprop="availability" href="http://schema.org/OutOfStock" />{l s='Out of stock'}
</span>
{/if}
</span>-->

and also :

 

<!--<meta itemprop="priceCurrency" content="{$priceDisplay}" />-->
 <meta itemprop="priceCurrency" content="AUD" />

 

 

The tpl file is product-list.tpl?

If yes, I made this change but continues to give me error (795 elements in error)

What i can make???

 

And then ... how should I configure this screen attached?
 
configuration_sitemap.png
 
Thanks beforehand
Edited by ingrossoerisparmio (see edit history)
Link to comment
Share on other sites

Just want to mention that I have the same issue on my site and although we won't get slapped by google it matters in terms of SEO:

 

"Depending on how the website is set up, you may choose to mark up category pages. If you list product information on the category pages, you will want to omit any microdata markup as it may cause a confliction with the product pages. After all, the goal for conversions usually starts with the product pages, so you will want the product page to be the landing page rather than a category page." (http://www.searchenginejournal.com/e-commerce-microdata-best-practices/35228/)

 

Anyway, if there is markup it should be at least correct, so I line up for a solution.

 

best, zac

  • Like 1
Link to comment
Share on other sites

  • 1 month later...
  • 2 weeks later...

I am having the exact same problem.. pricecurrency = 0

 

I read through this thread, but I'm not sure what the solution was..?

 

1) if you want to remove all markup information on the product listing page, you should simply remove all schema information from the product-list.tpl file of your template.

 

2) However, there is a discussion going on that Google will soon be able to understand multiple product offerings on one page, so it would make sense to leave the shema information intact on the product listing page. But for some of us, that information is broken, just like you, the pricecurrency is 0, and as far as I can tell, there is NO FIX for that yet. I'm hoping for one too.

  • Like 1
Link to comment
Share on other sites

I removed from product-list.tpl because of currency issue also.

 

However,

I have Rich Snippets module from addons.prestashop.com and have been using prior to upgrading to v.1.6.0.9.

 

Since the markup is already on product.tpl, should I continue or discontinue using Rich Snippets module? 

 

I appreciate any suggestions on this, thanks!

Link to comment
Share on other sites

I removed from product-list.tpl because of currency issue also.

 

However,

I have Rich Snippets module from addons.prestashop.com and have been using prior to upgrading to v.1.6.0.9.

 

Since the markup is already on product.tpl, should I continue or discontinue using Rich Snippets module? 

 

I appreciate any suggestions on this, thanks!

 

I have seen a new schema markup module on the addons store, that complements the existing basic schema information that is now included with Prestashop, it adds information like the manufacturer etc... might be a better choice than your old module, which might create conflicting or redundant markups.

  • Like 1
Link to comment
Share on other sites

I found a problem in product.tpl related to schema.org (in some Prestashop versions)

There is 2 paragraphes imbricated what cause issue

<p itemprop="offers" itemscope itemtype="http://schema.org/Offer">
       <p> ....</p>
       <meta itemprop="priceCurrency" content="{$currency->iso_code}" />
</p>

that make intepreter to evaluate meta itemprop outside scope Offer => issue with priceCurrency

Link to comment
Share on other sites

I found a problem in product.tpl related to schema.org (in some Prestashop versions)

There is 2 paragraphes imbricated what cause issue

<p itemprop="offers" itemscope itemtype="http://schema.org/Offer">
       <p> ....</p>
       <meta itemprop="priceCurrency" content="{$currency->iso_code}" />
</p>

that make intepreter to evaluate meta itemprop outside scope Offer => issue with priceCurrency

 

Hi Valentin,

 

thanks for bringing us closer to finding the source of the error. Do you have a solution on how to fix this, or is it a major edit to the tpl file? In that case I would also report it on forge (again) so that the fix can be included with the next update.

Link to comment
Share on other sites

I found a problem in product.tpl related to schema.org (in some Prestashop versions)

There is 2 paragraphes imbricated what cause issue

<p itemprop="offers" itemscope itemtype="http://schema.org/Offer">
       <p> ....</p>
       <meta itemprop="priceCurrency" content="{$currency->iso_code}" />
</p>

that make intepreter to evaluate meta itemprop outside scope Offer => issue with priceCurrency

 

Hi again Valentin,

 

okay, I checked everything, I don't seem to have the same code in my bootstrap template. What I was also wondering, the missing pricecurrency information seems to happen on product listing pages, according to the structured data testing tool by Google, not on the product detail page.

Link to comment
Share on other sites

Hi again Valentin,

 

okay, I checked everything, I don't seem to have the same code in my bootstrap template. What I was also wondering, the missing pricecurrency information seems to happen on product listing pages, according to the structured data testing tool by Google, not on the product detail page.

 

 

This issue occurs in 1.6.0.6 not in last version

  • Like 1
Link to comment
Share on other sites

This issue occurs in 1.6.0.6 not in last version

 

Okay, because I know a couple of 1.6.0.9 have schema issues too, usually it's an offering incomplete warning in Google Websmaster tools, connected to the pricecurrency information on the product listing page, like categories, or all items by a manufacturer, etc. It has been reported on forge, but so far no fix.

Link to comment
Share on other sites

Okay, because I know a couple of 1.6.0.9 have schema issues too, usually it's an offering incomplete warning in Google Websmaster tools, connected to the pricecurrency information on the product listing page, like categories, or all items by a manufacturer, etc. It has been reported on forge, but so far no fix.

 

I can see a link from 1.6.0.9 what generate errors in schema.org ?

Link to comment
Share on other sites

I can see a link from 1.6.0.9 what generate errors in schema.org ?

 

http://www.google.com/webmasters/tools/richsnippets?q=http%3A%2F%2Fwww.happyhomedecor.com%2F5-interior-accents

 

As you can see there is an error message "Error: Incomplete microdata with schema.org." - the one error I could see myself was that the priceCurrency info was empty, I manually edited the tpl file to add "EUR". But this only fixed part of the problem.

Link to comment
Share on other sites

×
×
  • Create New...