What are we doing wrong with Rich Snippets?
-
So, a client webstore has rich snippets on all products, and it seems they are working fine, and are showing up, the only problem is, that the price for an article is not showing up.
The part of the code, that shows the price is this:
Redna cena:
29,99 €Is the problem that we have the itemprop="price" in a meta tag? I've read around the internet that if you have a lot of meta, this can be a problem.... Can we change it into:
Redna cena:
Would this work, or is there another thing that we can try? The URL for this article is http://www.bigbang.si/igre/sleeping-dogs-le-x360-498998
-
you have to define the Itemscope first, referring to the data vocabulary to state what it is you describe in your itemprop. try this here: http://schema-creator.org/product.php
-
PhilippB thanks for the idea, but itemscope is declared just above it..
<form action="/p/111104/sleeping-dogs-le-x360" method="post">
| Redna cena: | 29,99 € |
</form>
-
ah, okay. it looks like you closed the itemscope div too early. it should be wrapped around the itemprops.
like so:
<form action="/p/111104/sleeping-dogs-le-x360" method="post">
did you try the testing tool?
http://www.google.com/webmasters/tools/richsnippets
| Redna cena: | 29,99 € |
</form>
-
I could be barking up the wrong tree. There is a difference between the price you say and the meta price which has two trailing 00's - this could be why it is ignored?
-
actually, when putting the closing itemprop div to the end, the testing tool returns the correct values.
-
Well, the problem here is, that if I put the original HTML into the testing tool, I do see the price show up. And it shows up in the same way if I change it, as you proposed PhilippB.
So the testing tool does not show any difference, as far as I see it, and if I add the URL into the testing tool, it shows the price in the same way...
-
Weird, I was sure I have answered this....
So, yes, I've tested it in the testing tool, and both of the versions, the one that we have on the website, and the one that you suggested, show the results in the same way.
And, not sure if I'm right, but the itemscope div isn't closed at all,
just opens a new one.
Any other ideas, or do I see something in a wrong way with your answer Philipp?
-
Not sure, of course we can change that (probably), we will try it, thanks for the idea.
-
True, I put the closing div in the wrong way. I updated it correctly above now. Drop me a line how it turned out and whether this solved it! cheers
-
I will take a while to get the change, and to see the results, but Ill get back to you, thanks!
-
A bit late here.
But How I understand it, price can not be a meta, it must be showing to the user, like it is in the schema.org page
itemprop="price">$55.00
http://schema.org/Product -
This sounds as a reasonable answer, all the previous things mentioned here have been changed with no positive results.
We will change this and see what happens.
Thanks!