내 제품 페이지에 대한 Google 리치 스 니펫을 만들려고합니다. 나는이 제품 내부조직에 대한 쿠폰이있는 제품 용 마이크로 데이터
<div itemscope="" itemtype="http://schema.org/Product">
...
</div>
를 사용하여 제품을 만든
, 나는
<div itemscope="" itemtype="http://schema.org/Product">
<div itemprop="offers" itemscope="" itemtype="http://schema.org/Offer">
...
</div>
</div>
로 만든 제공, 내가 제공하는 판매자 속성 (조직)를 추가 할 수 있습니다 그러나 제 HTML 구조는 상품하에 판매자가 있으며 상품에 포함되지 않습니다.
<div itemscope="" itemtype="http://schema.org/Product">
<div itemprop="offers" itemscope="" itemtype="http://schema.org/Offer">
...
</div>
<div itemprop="seller" itemscope="" itemtype="http://schema.org/Organization">
...
</div>
</div>
그러나 Google 구조화 데이터 테스트 도구를 좋아하지는 않습니다.
난 후 제공
<div itemscope="" itemtype="http://schema.org/Product">
<div itemprop="offers" itemscope="" itemtype="http://schema.org/Offer">
<meta itemprop="seller" itemref="provider">
...
</div>
<div id="provider" itemscope="" itemtype="http://schema.org/Organization">
...
</div>
</div>
에 meta
-tag을 조직에 itemref
를 사용하여 사용하여 시도했지만 여전히 조직으로 판매자를 인식하지 않는 것 같습니다.
내가 뭘 잘못하고 있니?
감사합니다. 따라서 오래된 콘텐츠 레이아웃을 유지하고 적절한 스키마 마크 업을 가질 방법이 없습니까? –
@MadsOhmLarsen :'div' 요소를 추가 할 수 없다면 (그래서'Product'는 모든 것에 대한 컨테이너가 아닙니다), 솔루션을 생각할 수 없습니다. – unor