我正在为当地的美容院建立一个网站。提供按摩和各种美容护理等服务。它在1个概览页面上显示(价目表)
我发现https://schema.org/Product
可以用于服务:
任何提供的产品或服务。例如:一双鞋;音乐会门票;租车;理发
拳头问题,我可以忽略可用性和条件等字段吗?
第二,我应该在qazxsw poi中列出qazxsw poi的产品吗?或者这不是正确的方法吗?
例:
ItemOffered
拳头问题,我可以忽略可用性和条件等字段吗?
Schema.org从不需要财产。像Google这样的消费者可能需要其功能之一的属性。
对于Offer
,
{
"@context": "http://schema.org",
"@type": "WebPageElement",
"offers": {
"@type": "Offer",
"itemOffered": [
{
"@type": "Product",
"@id": "/beauty-treatment-a",
"description": "Short description with details",
"name": "Beauty Treatment A",
"offers": {
"@type": "Offer",
"price": "18.28",
"priceCurrency": "EUR",
"description": "Same description",
"name": "Same name",
"image": {
"@context": "http://schema.org",
"@type": "ImageObject",
"contentUrl": "image-a.jpg",
"description": "Same name",
"width": 640,
"height": 640
}
}
},
{
"@type": "Product",
"@id": "/beauty-treatment-b",
"description": "Short description with details",
"name": "Beauty Treatment B",
"offers": {
"@type": "Offer",
"price": "18.28",
"priceCurrency": "EUR",
"description": "Same description",
"name": "Same name",
"image": {
"@context": "http://schema.org",
"@type": "ImageObject",
"contentUrl": "image-b.jpg",
"description": "Same name",
"width": 640,
"height": 640
}
}
]
}
}
用于Google搜索中的丰富搜索结果,以及Google图片中“相关项目”所需的内容,以及但是,它们的功能仅适用于单个产品的页面。因此,您的网页不符合Google产品丰富的结果。
其次,我应该将此产品列为商品内提供的商品吗?或者这不是正确的方法吗?
您可以将availability
作为顶级项目(使用itemCondition
Product
),或将offers
作为顶级项目(使用Offer
Offer
)。
关于你的例子:
itemOffered
;通常不是页面上某个HTML元素包含商品的相关信息,只有提供商品才有意义。我会推荐以下内容:
Product
作为优惠清单。WebPageElement
。OfferCatalog
指向Offer
/ Offer
与Product
。