问题
Using these but it's not validating:
<div itemscope itemtype="http://schema.org/Product">
<h1 itemprop="name">Product</h1>
<span itemprop="description">Product
<div itemprop="offers" itemscope itemtype="http://schema.org/Offer">
Prices start at <meta itemprop="priceCurrency" content="PHP" />Php
<span itemprop="price">1799.00 (monthly)
</div>
</div>
回答1:
To represent subscription costs (for an Offer
), you could use the UnitPriceSpecification type and its unitCode property.
The unitCode
’s value can be a UN/CEFACT Common Code, where MON
is the code for month.
In Microdata, this could look like:
<div itemscope itemtype="http://schema.org/Product">
<div itemprop="offers" itemscope itemtype="http://schema.org/Offer">
<div itemprop="priceSpecification" itemscope itemtype="http://schema.org/UnitPriceSpecification">
Prices start at <meta itemprop="priceCurrency" content="PHP" />Php
<span itemprop="price">1799.00</span>
<meta itemprop="unitCode" content="MON">(monthly)
</div>
</div>
</div>
来源:https://stackoverflow.com/questions/27009419/how-do-i-implement-rich-snippets-on-a-product-service-that-has-monthly-fee