描述 schema.org 服务中设置价格和持续价格的一种方式
A way of describing both setup price and ongoing price in schema.org services
所以我正在设置我的 ld+json
结构化数据,使用 Schema.org 模式。我正在添加带有 Offer
的产品,但它们只有一个价格参数。
我也看了PriceSpecification
,但是只有"range"
和"price"
。
我应该使用 2 个 PriceSpecifications
(或 2 个 Offers
?)且名称明显不同,还是有其他我没有遇到过的选项?不想让搜索引擎混淆。
感谢您的帮助。
您可以使用多个 PriceSpecifications。然而 "typically, only the subclasses of this type are used for markup." UnitPriceSpecification would be the best fit, or the setup price can be of type DeliveryChargeSpecification.
或者,您可以使用单个 CompoundPriceSpecification with multiple priceComponent properties, each of type UnitPriceSpecification。 "The name property of the attached unit price specification for indicating the dimension of a price component"
所以我正在设置我的 ld+json
结构化数据,使用 Schema.org 模式。我正在添加带有 Offer
的产品,但它们只有一个价格参数。
我也看了PriceSpecification
,但是只有"range"
和"price"
。
我应该使用 2 个 PriceSpecifications
(或 2 个 Offers
?)且名称明显不同,还是有其他我没有遇到过的选项?不想让搜索引擎混淆。
感谢您的帮助。
您可以使用多个 PriceSpecifications。然而 "typically, only the subclasses of this type are used for markup." UnitPriceSpecification would be the best fit, or the setup price can be of type DeliveryChargeSpecification.
或者,您可以使用单个 CompoundPriceSpecification with multiple priceComponent properties, each of type UnitPriceSpecification。 "The name property of the attached unit price specification for indicating the dimension of a price component"