我已经在一个网站上设置了结构化标记大约一个星期,谷歌已经索引了大约 20% 的内容,但它仍然没有显示。在验证工具中检查标记是否正确后,我注意到了这一点:
一切看起来都很好,除了
offers [Offer]: http://www.website.co.uk/price-excluding-tax-990
现在看一下源代码:
<div class="product-view" itemscope itemtype="http://schema.org/Product">
<span itemprop="sku">PM90-0100</span>
<div class="product-name">
<h1 itemprop="name">Basket PM90-0100</h1>
</div>
<p class="availability in-stock">Availability: <span>In stock</span></p>
<div class="price-box">
<span class="price-excluding-tax">
<span class="label">Excl VAT: </span>
<span itemprop="offers" itemscope itemtype="http://schema.org/Offer" class="price" id="price-excluding-tax-990">
<link itemprop="availability" href="http://schema.org/InStock"/>
<meta itemprop="priceCurrency" content="GBP" />
<span itemprop="price">£30.00</span>
</span>
<div itemprop="description" class="std">This is a brand new basket to fit various Freerider mobility scooters.</div>
[code continues...]
这一切看起来都正确吗?不知何故,在网站管理员工具中,它正在获取price-excluding-tax-990
ID 并在其中使用它offers [Offer]:
- 这似乎很奇怪。