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"> <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 propertyavailability
not recognized google object of typeproduct
.)
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"> <link itemprop="availability" href="http://schema.org/instock"> <span>in stock</span> </i> </li> </ul> </h1> </div>
Comments
Post a Comment