Yoast SEO 开发者文档

title: "Aggregateoffer" post_status: publish comment_status: open taxonomy: category: - yoast-developer post_tag: - Pieces - Schema - Features


import YoastSchemaExample from '../../../../src/components/YoastSchemaExample';

描述一组 Productoffers,通常由于属性(颜色、尺寸、价格)的差异而形成。

触发条件

必需属性

一个有效的 AggregateOffer 必须包含以下属性。

失败场景

如果任何必需字段缺失或无效,则不应输出此节点。 如果未输出此节点,任何原本会引用该 AggregateOffer 的实体应移除这些引用(例如,当产品通过 ID 引用一个 AggregateOffer 时)。

示例

最低标准

{{ "@context": "https://schema.org", "@graph": [ { "@type": "AggregateOffer", "@id": "https://www.example.com/#/schema/AggregateOffer/abc123", "lowPrice": "22.00", "highPrice": "136.00", "priceCurrency": "GBP", "offerCount": 3, "offers": [ { "@id": "https://www.example.com/#/schema/Offer/abc123" }, { "@id": "https://www.example.com/#/schema/Offer/def456" }, { "@id": "https://www.example.com/#/schema/Offer/ghi789" } ] } ] }}