Skip to content

STENCIL-3974 - PLP Price Ranges#1111

Merged
mjschock merged 1 commit intobigcommerce:masterfrom
mjschock:STENCIL-3974
Nov 8, 2017
Merged

STENCIL-3974 - PLP Price Ranges#1111
mjschock merged 1 commit intobigcommerce:masterfrom
mjschock:STENCIL-3974

Conversation

@mjschock
Copy link
Copy Markdown
Contributor

@mjschock mjschock commented Oct 27, 2017

What?

  • shows price ranges instead of prices when they are present in the context on product list pages (PLP)

Tickets / Documentation

@bigcommerce/stencil-team - this is ready to go

@shanth100
Copy link
Copy Markdown

💚

@@ -0,0 +1,3 @@
{{#with price_range}}
{{min.formatted}} - {{max.formatted}}
{{/with}} No newline at end of file
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

EOL is missing

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

👍

<div class="card-text" data-test-info-type="price">
{{#or customer (if theme_settings.restrict_to_login '!==' true)}}
{{> components/products/price price=price customer=customer}}
{{#if price_range}}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

what about product view ? https://github.com/bigcommerce/cornerstone/blob/master/templates/components/products/product-view.html#L19 are we not planning on showing the range in the quick view & product detail page until an option is selected ?

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

From what I understand, this is only for PLP and nowhere else.

@mjschock mjschock merged commit f86c823 into bigcommerce:master Nov 8, 2017
@mjschock mjschock deleted the STENCIL-3974 branch November 8, 2017 22:35
@bigbot
Copy link
Copy Markdown

bigbot commented Nov 9, 2017

Autotagging @bigcommerce/stencil-team @davidchin

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