schema.org - Google SDTT: "The property 'availability' is not recognized by Google for an object of type Product" -


situation: need add availability property product page.

schema.org recommends format microdata:

<link itemprop="availability" href="http://schema.org/instock" />in stock 

i'm combining code on our site:

<li>     <i class="fa fa-check-square-o">&nbsp;         <link itemprop="availability" href="http://schema.org/instock">         <span>in stock</span>     </i> </li> 

problem: google structured data testing tool reports:

http://schema.org/instock (the property availability not recognized google object of type product.)

is code issue?
or missing schema/google "wrapper" availability property?

ack. figured out. availability has inside offer:

<div itemprop="offers" itemscope itemtype="http://schema.org/offer">                 <h1>     <ul>       <li>         <i class="fa fa-check-square-o">&nbsp;           <link itemprop="availability" href="http://schema.org/instock">           <span>in stock</span>         </i>       </li>     </ul>   </h1> </div> 

Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -