- From: Cosmin <cpaun88@gmail.com>
- Date: Fri, 08 Mar 2013 17:01:32 +0200
- To: public-vocabs@w3.org
Received on Friday, 8 March 2013 19:17:57 UTC
Dear Dianne, Property /isRelatedTo /expects a /Product /type, therefore you need to declare a new itemscope of type /Product/. Notice: When using itemprop inside of an <a></a> element, the value of the property is the value of the href attribute. See bellow an example: <div class="product-view" itemscope itemtype="http://schema.org/Product"><h2 itemprop="name">Item A</h2><div class="description" itemprop="description"> ... </div> See related product: <div itemprop="isRelatedTo"itemscope itemtype="http://schema.org/Product"> <a itemprop="url"href="..."><span itemprop="name">Item B</span></a> </div> <div itemprop="isRelatedTo"itemscope itemtype="http://schema.org/Product"> <a itemprop="url"href="..."><span itemprop="name">Item C</span></a> </div> </div> Regards, Cosmin
Received on Friday, 8 March 2013 19:17:57 UTC