- From: <mfhepp@gmail.com>
- Date: Tue, 17 Mar 2015 20:58:31 +0100
- To: W3C Web Schemas Task Force <public-vocabs@w3.org>
Hi Vicky:
On 13 Mar 2015, at 18:15, vholland <notifications@github.com> wrote:
> The intention was more around the cost for delivery based on the purchase price. Online retailers often waive delivery charges for order over a certain amount. I may have a delivery charge of $10 for order less than $100, but no delivery charge for orders of $100 or more.
>
> —
> Reply to this email directly or view it on GitHub.
>
This can be covered with the existing vocabulary. See below for an example.
The only area for improvement I see is that the definition of intervals in prices and quantitative values has currently support for including endpoints via min/max, not for excluding endpoints, so we have to use
<meta itemprop="maxPrice" content="99.99">
to indicate "less than 100.
We could add maxPriceExcludes/minPriceExcludes/maxValueExcludes/minValueExcludes properties to schema.org, but I would rather recommend markup recipes as the ones proposed.
Martin
<div itemscope itemtype="http://schema.org/Offer">
<div itemprop="name">Hepp Personal SCSI Controller Card</div>
<div itemprop="description">The Hepp Personal SCSI is a 16-bit add-on card that allows
attaching up to seven SCSI devices to your computer.</div>
<!-- Unit price -->
<div itemscope itemprop="priceSpecification"
itemtype="http://schema.org/UnitPriceSpecification">Price:
<meta itemprop="priceCurrency" content="USD">$
<span itemprop="price">25.99</span>
</div>
<!-- Shipment fees -->
Delivery costs:
<div itemscope itemprop="priceSpecification"
itemtype="http://schema.org/DeliveryChargeSpecification">
<meta itemprop="priceCurrency" content="USD">
<meta itemprop="price" content="0">Free</span> for orders of
<div itemprop="eligibleTransactionVolume" itemscope itemtype="http://schema.org/PriceSpecification">
<meta itemprop="priceCurrency" content="USD">$
<span itemprop="minPrice">100</span> and more
</div>
</div>
<div itemscope itemprop="priceSpecification"
itemtype="http://schema.org/DeliveryChargeSpecification">
<meta itemprop="priceCurrency" content="USD">$
<span itemprop="price">10</span> for orders below
<div itemprop="eligibleTransactionVolume" itemscope itemtype="http://schema.org/PriceSpecification">
<meta itemprop="priceCurrency" content="USD">$
<meta itemprop="maxPrice" content="99.99">100.
</div>
</div>
</div>
<!-- other offer properties follow here -->
...
</div>
-----------------------------------
martin hepp http://www.heppnetz.de
mhepp@computer.org @mfhepp
Received on Tuesday, 17 March 2015 19:58:59 UTC