用作引用:https://support.google.com/webmasters/answer/146750?hl=en
您会注意到在“产品”下有一个属性类别,此外页面下方还有一个示例:
<span itemprop="category" content="Hardware > Tools > Anvils">Anvils</span>
我已经完全模仿了:
<span itemprop="category" content="kitchen sinks > stainless steel sinks > undermount">undermount</span>
但是,当我使用 Google 的结构化数据工具对其进行测试时,出现错误:
Error: Page contains property "category" which is not part of the schema.
我也在示例中意识到,它使用的是 data-vocabulary.org→Product,其中我使用的是 schema.org→Product。
现在在 http://schema.org/Product ,它没有提到任何地方的类别。 schema.org 不提供类别吗?或者我错过了什么?
最佳答案
category 是模式/商品的 itemprop,而不是模式/产品
要解决您的问题,请在产品中放置一个优惠,并将类别附加到优惠中。
关于schema.org - schema.org 中的产品类别?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19031818/