Skip to content

feat(catalog): CATALOG-3161 retail price range#1199

Merged
ziad-abdo merged 1 commit intobigcommerce:masterfrom
ziad-abdo:CATALOG-3161
May 29, 2018
Merged

feat(catalog): CATALOG-3161 retail price range#1199
ziad-abdo merged 1 commit intobigcommerce:masterfrom
ziad-abdo:CATALOG-3161

Conversation

@ziad-abdo
Copy link
Contributor

What?

Show a retail price range if one exists and make it strike through.
This pull request is dependent on another, and will basically only show if all fo the variants to this product contain a retail price.

I didnt add the message that says "Without Tax" because retail price wont ever be calculated with tax anyway so its kind of redundant/misleading.

Tickets / Documentation

The below ticket must be finished before this can be merged

Screenshots (if appropriate)

screenshot2018-04-03

@bigbot
Copy link

bigbot commented Apr 4, 2018

Autotagging @bigcommerce/storefront-team @davidchin

Copy link

@davidwrpayne davidwrpayne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall makes sense however you may have a conflict depending on when you get this merged. It will be regarding the itempprop="offers" / schema.org tags

@mattolson
Copy link
Contributor

@Souldjinn This needs a rebase after David's change

Copy link

@davidwrpayne davidwrpayne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Schema Org section looks good too me. Some simple indent changes would be nice but not necessary.

<abbr title="{{lang 'products.including_tax'}}">{{lang 'products.price_with_tax' tax_label=price_range.min.tax_label}}</abbr>
<span data-product-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}}">

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ident this block please.

@ziad-abdo ziad-abdo merged commit e93a219 into bigcommerce:master May 29, 2018
Ubersmake added a commit that referenced this pull request May 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants