: How to use price range inside "Offer" type? I have category pages that contain products. Some of the products have fixed prices and some of the products have price ranges. Also any product
I have category pages that contain products. Some of the products have fixed prices and some of the products have price ranges.
Also any product has a seller that must be inside Offer. Right? So I must use the Offer type and I can not using PriceSpecification. Am I wrong?
How can I use Microdata with this condition?
A product with price range in my product list page:
<li itemscope itemtype="http://schema.org/Product" >
<span itemprop="name" >ProductName</span>
<div itemprop="offers" itemscope itemtype="http://schema.org/Offer">
<ul>
<li><meta itemprop="maxprice" content="1000000" /><meta itemprop="minprice" content="10000" />
<meta itemprop="priceCurrency" content="USD" />
from 10,000 to 1,000,000 USD</li>
</ul>
<div itemprop="seller" itemscope itemtype="http://schema.org/Organization">
<ul>
<li><span itemprop="telephone" >00188341534</span></li>
</ul>
</div>
<div itemprop="address" itemscope itemtype="http://schema.org/PostalAddress">
<span itemprop="addressLocality">Washington</span></div>
I need valid code look like this. But this code is not valid.
More posts by @XinRu657
1 Comments
Sorted by latest first Latest Oldest Best
You can have a PriceSpecification for the Offer, by using the priceSpecification property:
<article itemscope itemtype="http://schema.org/Product">
<div itemprop="offers" itemscope itemtype="http://schema.org/Offer">
<div itemprop="priceSpecification" itemscope itemtype="http://schema.org/PriceSpecification">
</div>
</div>
</article>
And inside the PriceSpecification, you can use the minPrice and maxPrice properties. (Note that they are case-sensitive.)
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.