Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to figure out how to start adding rich snippets to products but I keep getting an error from Google stating:

In order to generate a preview with rich snippets, either price or review or availability needs to be present.

But I have price in there in a meta tag. I don't get what's wrong here:

<li itemprop="offerDetails" itemscope itemtype="http://data-vocabulary.org/Product" class="span3">
    <div class="thumbnail"><meta itemprop="category" content="flowers">
        <a itemprop="url" href="/en/2-in-too-deep.html" title="Depth">
            <img itemprop="image" alt="A dozen red roses is as romantic as it is classic." src="/2-441-catalog/.jpg">
            <meta itemprop="description" content="[A dozen red roses is as romantic as it is classic.]">
        <div class="caption_mobile visible-phone"><p itemprop="name">Depth</p></div>
    <div class="caption hidden-phone">
        <h4 itemprop="alternateName">Depth</h4>
        <meta itemprop="price" content="&#36;40">
        <meta itemprop="currency" content="USD" />
share|improve this question
Any reason major reason you've opted to use data-vocabulary when since June 2011, several major search engines have been collaborating on a new common data vocabulary called schema.org ? – Simon Hayter Jan 9 '14 at 20:50
I had originally tried using schema.org but when I tested it Google displaced 4 errors. So, without knowing, I tried data-vocabulary and only got one error. – davidcondrey Jan 10 '14 at 16:27
Sounds like you avoided a problem when you should of fixed it :P – Simon Hayter Jan 10 '14 at 17:56

For one, Offer should be nested under Product, and OfferDetails should have this value for itemtype:


Second, price should be specified with a floating point number.

See the documentation from Google here and follow the Singe product page code under "Examples" there.

A related question and answer are here.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.