省略已售产品的价格属性? [英] Omitting price property for sold products?

查看:33
本文介绍了省略已售产品的价格属性?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将 Schema.org(使用 Microdata)添加到产品页面.我的客户希望省略已售产品的价格 - 她不希望任何人都能看到已售产品的价格.

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.

然而,这在价格"的微数据中显示为错误:在 Google SDTT 中查看页面

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

显然普通用户仍然无法看到价格,但 Google 购物使用了它,因此可能会显示.

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

我应该把价格设为 0 吗?

Should I just put a price of 0?

推荐答案

有一个 Offer 没有 price 是完全没问题的.

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

如果 Google 的结构化数据测试工具出现问题,并不一定意味着您的 Microdata 或 Schema.org 有错误.在您的情况下,Google 的错误消息仅表示:

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.

此富媒体搜索结果的重点是向用户展示您的产品的相关数据,包括其价格.如果你没有价格,谷歌就没有必要显示它.不要提供虚假价格(例如 0), 只需省略 price 属性.否则,您表示您的产品有价格(在 0 的情况下,该产品是免费的),这会产生误导.

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.

这篇关于省略已售产品的价格属性?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆