Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

STENCIL-3974 - PLP Price Ranges #1111

Merged
merged 1 commit into from
Nov 8, 2017
Merged

STENCIL-3974 - PLP Price Ranges #1111

merged 1 commit into from
Nov 8, 2017

Conversation

mjschock
Copy link
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

💚

@@ -0,0 +1,3 @@
{{#with price_range}}
{{min.formatted}} - {{max.formatted}}
{{/with}}
Copy link
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
Contributor Author

Choose a reason for hiding this comment

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

👍

@@ -81,7 +81,11 @@ <h4 class="card-title">

<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
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 ?

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

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