How to markup a floating price product in Schema.org? -


i have electronic components, , price floating.

for example, if buy 5 pieces, $1 each piece. , buy 200 pieces, $0.8 each pieces.

there's order range , price sheet this:

  • 1~199 $1
  • 200~500 $0.8

can mark in schema.org (using microdata)?

you can multiple pricespecification (or in case unitpricespecification) items.

the eligiblequantity property can give quantity range in quantitativevalue item, minvalue , maxvalue properties.

if want provide unitcode, can use un/cefact common code’s c62.

based on example (from comment), in microdata:

<div itemscope itemtype="http://schema.org/offer">  <div itemprop="pricespecification" itemscope itemtype="http://schema.org/unitpricespecification">   <div itemprop="eligiblequantity" itemscope itemtype="http://schema.org/quantitativevalue">     <meta itemprop="unitcode" content="c62" />     <span itemprop="minvalue">1</span>-<span itemprop="maxvalue">100</span>:    </div>   nt$<span itemprop="price">6.65</span> </div>  <div itemprop="pricespecification" itemscope itemtype="http://schema.org/unitpricespecification">   <div itemprop="eligiblequantity" itemscope itemtype="http://schema.org/quantitativevalue">     <meta itemprop="unitcode" content="c62" />     <span itemprop="minvalue">101</span>-<span itemprop="maxvalue">200</span>:    </div>   nt$<span itemprop="price">5.70</span> </div>  </div> 

Comments

Popular posts from this blog

php - Zend Framework / Skeleton-Application / Composer install issue -

c# - Better 64-bit byte array hash -

python - PyCharm Type error Message -