Schema.org 产品类型没有房价? [英] Schema.org Product type has no property price?
本文介绍了Schema.org 产品类型没有房价?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一家网店.在产品详细信息页面上,我使用 schema.org 中的 Product
类型:http://schema.org/产品
I have a webshop. On the product detail pages I use the Product
type from schema.org: http://schema.org/Product
支持name
、description
、image
和url
属性.
但是,它似乎不支持包含价格"属性,例如基于 https://schema.org/价格
However, it does not seem to support the inclusion of a "price" property, based on for example https://schema.org/price
我觉得很奇怪 Product
定义似乎不支持价格.还是我使用了错误的类型?
I find it weird that the Product
definition does not seem to support a price. Or am I using the wrong type?
推荐答案
是的,price
属性 不是为 Product
类型定义的.
Yes, the price
property is not defined for the Product
type.
您可能想要使用 Offer
类型.要么
You might want to use the Offer
type. Either
- 单独使用(而不是
Product
),或 - 与
Product
结合(通过offers
相关)/itemOffered
).
这篇关于Schema.org 产品类型没有房价?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文