Omitting price property for sold products?

邮差的信 提交于 2019-12-19 10:50:55

问题


I'm adding Schema.org (using Microdata) to a product page. My client wants the price omitted for sold products - she doesn't want anyone to be able to see the price of sold products.

However this was showing up as an error in the Microdata for 'price': check page in Google SDTT

Obviously the average user will still not be able to see the price, but it's used by Google Shopping so might show up.

Should I just put a price of 0?


回答1:


It’s perfectly fine to have an Offer without a price.

If Google’s Structured Data Testing Tool complains, it does not necessarily mean that you have an error in your Microdata or Schema.org. In your case Google’s error message just means:

If you don’t provide a price, we won’t be able to show our Products rich result for your product.

The point of this rich result is showing their users data about your product, including its price. If you don’t have a price, there is no point for Google to display it. Don’t provide a fake price (like 0), just omit the price property. Otherwise you convey that your product has a price (in case of 0, that the product is gratis), which would be misleading.



来源:https://stackoverflow.com/questions/37788598/omitting-price-property-for-sold-products

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!