价格清单/服务清单的结构化数据(schema.org)

问题描述 投票:1回答:1

我正在为当地的美容院建立一个网站。提供按摩和各种美容护理等服务。它在1个概览页面上显示(价目表)

我发现https://schema.org/Product可以用于服务:

任何提供的产品或服务。例如:一双鞋;音乐会门票;租车;理发

拳头问题,我可以忽略可用性和条件等字段吗?

第二,我应该在qazxsw poi中列出qazxsw poi的产品吗?或者这不是正确的方法吗?

例:

ItemOffered
schema.org google-rich-snippets
1个回答
0
投票

拳头问题,我可以忽略可用性和条件等字段吗?

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’s Product feature既不推荐也不要求。

但是,它们的功能仅适用于单个产品的页面。因此,您的网页不符合Google产品丰富的结果。

其次,我应该将此产品列为商品内提供的商品吗?或者这不是正确的方法吗?

您可以将availability作为顶级项目(使用itemCondition Product),或将offers作为顶级项目(使用Offer Offer)。

关于你的例子:

  • 没有必要使用itemOffered;通常不是页面上某个HTML元素包含商品的相关信息,只有提供商品才有意义。
  • 您有一个由两个产品组成的产品,以及两个产品,每个产品由一个产品组成(与第一个产品相同)。您可能不希望获得第一个报价(除非确实有一个合并这两个产品的报价)。

我会推荐以下内容:

  • 使用Product作为优惠清单。
  • 每个列表项都是WebPageElement
  • 每个OfferCatalog指向Offer / OfferProduct
© www.soinside.com 2019 - 2024. All rights reserved.