相关产品的 Schema.org 设置? [英] Schema.org setup for related products?
本文介绍了相关产品的 Schema.org 设置?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想为相关产品设置 Schema.org 标记.
I would like to setup Schema.org markup for related products.
我已经尝试过这段代码,但我有疑问:
I have tried this code but I have doubt in my mind:
itemprop="isRelatedTo" itemscope itemtype="http://schema.org/Product"
我的产品页面是 https://www.amigotrekking.com/everest-base-camp-trek.html
推荐答案
如果是功能相似"的产品,请使用
isSimilarTo
财产.如果它是其他产品的消耗品",请使用
isConsumableFor
财产.If it’s a "consumable" for another product, use the
isConsumableFor
property.如果它是其他产品的附件或备件",请使用
isAccessoryOrSparePartFor
属性.If it’s an "accessory or spare part" for another product, use the
isAccessoryOrSparePartFor
property.如果它是以某种方式相关"的产品,请使用
isRelatedTo
财产.If it’s a "somehow related" product, use the
isRelatedTo
property.因此,对于相关产品,微数据示例为:
So for a related product, a Microdata example would be:
<article itemscope itemtype="http://schema.org/Product"> <aside> <article itemprop="isRelatedTo" itemscope itemtype="http://schema.org/Product"></article> </aside> </article>
这篇关于相关产品的 Schema.org 设置?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文