Skip to content

Commit

Permalink
fix(storefront): STRF-4701 - Removed schema.org priceSpecification me…
Browse files Browse the repository at this point in the history
…ta tags that were tied to Retail Price Range. It looks like schema.org does not support pricing types other than the actual product price at this time.
  • Loading branch information
bc-jz committed Jun 11, 2018
1 parent 8dd15c2 commit 58f8388
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions templates/components/products/price-range.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,6 @@
<div class="price-section price-section--withTax rrp-price--withTax" {{#if schema_org}}itemprop="offers" itemscope itemtype="http://schema.org/Offer"{{/if}}>
{{theme_settings.pdp-retail-price-label}}
<span data-product-rrp-price-with-tax class="price price--rrp">{{price.retail_price_range.min.with_tax.formatted}} - {{price.retail_price_range.max.with_tax.formatted}}</span>
{{#if schema_org}}
<meta itemprop="availability" content="{{product.availability}}">
<meta itemprop="itemCondition" itemtype="http://schema.org/OfferItemCondition" content="http://schema.org/{{product.condition}}Condition">
<div itemprop="priceSpecification" itemscope itemtype="http://schema.org/PriceSpecification">
<meta itemprop="minPrice" content="{{price.retail_price_range.min.with_tax.value}}" />
<meta itemprop="price" content="{{price.retail_price_range.min.with_tax.value}}">
<meta itemprop="maxPrice" content="{{price.retail_price_range.max.with_tax.value}}" />
<meta itemprop="priceCurrency" content="{{currency_selector.active_currency_code}}">
<meta itemprop="valueAddedTaxIncluded" content="true">
</div>
{{/if}}
</div>
{{else}}
{{#if price.with_tax}}
Expand Down Expand Up @@ -55,17 +44,6 @@
<div class="price-section price-section--withoutTax rrp-price--withoutTax" {{#if schema_org}}itemprop="offers" itemscope itemtype="http://schema.org/Offer"{{/if}}>
{{theme_settings.pdp-retail-price-label}}
<span data-product-rrp-price-without-tax class="price price--rrp">{{price.retail_price_range.min.without_tax.formatted}} - {{price.retail_price_range.max.without_tax.formatted}}</span>
{{#if schema_org}}
<meta itemprop="availability" content="{{product.availability}}">
<meta itemprop="itemCondition" itemtype="http://schema.org/OfferItemCondition" content="http://schema.org/{{product.condition}}Condition">
<div itemprop="priceSpecification" itemscope itemtype="http://schema.org/PriceSpecification">
<meta itemprop="minPrice" content="{{price.retail_price_range.min.without_tax.value}}" />
<meta itemprop="price" content="{{price.retail_price_range.min.without_tax.value}}">
<meta itemprop="maxPrice" content="{{price.retail_price_range.max.without_tax.value}}" />
<meta itemprop="priceCurrency" content="{{currency_selector.active_currency_code}}">
<meta itemprop="valueAddedTaxIncluded" content="false">
</div>
{{/if}}
</div>
{{else}}
{{#if price.without_tax}}
Expand Down

0 comments on commit 58f8388

Please sign in to comment.