本文介绍了如何包含“itemCondition”和“徽标” schema.org产品片段中的schema标签?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 我正在尝试将schema.org片段添加到我的产品页面。我的客户要求我在产品单页中显示以下schema.org标签。b / b $ b 1)itemCondition 2 )徽标(仅显示品牌图片网址) Schema.org仅给出每个标签的标签描述,但没有提及应该如何实施大多数标签。目前我的摘录显示如下 c> meta 元素应该使用链接元素: < link itemprop =logohref =http://rstest.mydomain.com/ images / userfiles / logos / stone-island.png/> 对于 itemCondition :您不应该使用 br 元素。为商品编号使用 ul , div 以及 p 对于观众:查看我们的完整范围...。 http://schema.org/PeopleAudiencerel =nofollow noreferrer> PeopleAudience 不支持 gender 属性(仅限于 People ) 。您可能是指 suggestedGender 属性。 I'm trying to add schema.org snippets to my products page. My client requested me to display following schema.org tags in the products single page1) itemCondition2) logo (display only the brand image URL)Schema.org gives only the tags description for each tags but haven't mentioned how it's should to be implement for most tags. Currently my snippet display as follows<div itemscope itemtype="http://schema.org/Product"> <img itemprop="image" src="/uploads/pen102-a13-olv_1.jpg" /> <span itemprop="name">BOWERBRIDGE INSULATED JKT</span> <div itemprop="offers" itemscope itemtype="http://schema.org/AggregateOffer"> <span itemprop="lowPrice">$400</span> to <span itemprop="highPrice">$600</span> from <span itemprop="offerCount">20</span> sellers </div></div>Could anyone please let me know how can I include the my client required tags to above snippet.My client required following schema.org tags.1) itemCondition2) logo (display only the brand image URL)EDIT<div itemscope itemtype="http://schema.org/Product"> <meta itemprop='logo' content='http://rstest.mydomain.com/images/userfiles/logos/stone-island.png'/> <span itemprop='itemCondition'><br /> • Removable arm badge logo<br /> • Pull over hoddy<br /> • Panel pocket<br /> • Regular fit<br /> • Zip side pockets<br /> • Long sleeve<br /> • 100% Cotton<br /> • 40 Degree wash<br /> <br /> 591565220<br /> <br /> View our full range of <a href="http://www.mydomain.com/mens/hoodies/" target="_self">Mens Hoodies</a> </span></div>Audience code<div itemscope itemtype="http://schema.org/Product"> <span itemprop="audience" itemscope itemtype="http://schema.org/PeopleAudience"> <meta itemprop="gender" content="male"/> </span></div>Error: Page contains property "gender" which is not part of the schema. 解决方案 For logo: Instead of the meta element you should use the link element: <link itemprop="logo" href="http://rstest.mydomain.com/images/userfiles/logos/stone-island.png" />For itemCondition: You should not use br elements here. Use a ul for the features, div for the article number, and p for the "View our full range …".For audience: PeopleAudience doesn’t support the gender property (it’s for People only). You probably mean the suggestedGender property. 这篇关于如何包含“itemCondition”和“徽标” schema.org产品片段中的schema标签?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 10-25 07:21