我目前正在为电子商务网站构建 Schema.org 模板,以生成 Google 购物 Feed。
我正在努力理解定义销售价格的正确方法——即暂时降价的产品。
我考虑过的选项是L
- 带有多个“PriceSpecification”项的单个“Offer”
- 具有单个“PriceSpecification”的多个“Offer”项目
- 或者完全是别的东西?
带有多个“PriceSpecification”项目的单个“Offer”
"offers": {
"@type": "Offer",
"url": "https://kx.com/url",
"itemCondition": "http://schema.org/UsedCondition",
"availability": "http://schema.org/InStock",
"PriceSpecification": [
{
"@type": "PriceSpecification",
"price": 15.00,
"priceCurrency": "USD"
},
{
"@type": "PriceSpecification",
"price": 15.00,
"priceCurrency": "USD",
"validFrom": "2020-01-01",
"validThrough": "2020-02-01",
}
],
},
具有单个“PriceSpecification”的多个“Offer”项目
"offers": [
{
"@type": "Offer",
"url": "https://kx.com/url",
"itemCondition": "http://schema.org/UsedCondition",
"availability": "http://schema.org/InStock",
"PriceSpecification": [
{
"@type": "PriceSpecification",
"price": 15.00,
"priceCurrency": "USD"
}
],
},
{
"@type": "Offer",
"url": "https://kx.com/url",
"itemCondition": "http://schema.org/UsedCondition",
"availability": "http://schema.org/InStock",
"PriceSpecification": [
{
"@type": "PriceSpecification",
"price": 15.00,
"priceCurrency": "USD",
"validFrom": "2020-01-01",
"validThrough": "2020-02-01",
}
],
}
]
},
还是完全不同的东西?我正在努力寻找有关此的任何结论性文档。