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

CATALOG-2408 Fix updateView firing when there are no default options #1172

Merged
merged 1 commit into from
Feb 28, 2018
Merged

CATALOG-2408 Fix updateView firing when there are no default options #1172

merged 1 commit into from
Feb 28, 2018

Conversation

bookernath
Copy link
Contributor

@bookernath bookernath commented Feb 27, 2018

What?

Fix price reflowing when there are no default options, which was overriding price ranges. We will now only update the PDP view when there are default option values, which will mirror the behavior of actually clicking on those options.

I took @bc-jz 's advice that it's better to override price ranges when there are default option values, so they do get overridden in that case to set shopper expectation around what price they'll get if they press "add to cart" right away.

As a future improvement, we might maintain price ranges if there are required options without default values (meaning I must click at least one option before I can add to cart). Might make sense to keep the range around in that case.

Tickets / Documentation

ping @bigcommerce/storefront-team

Fix price reflowing when there are no default options, which was overriding price ranges.
@bigbot
Copy link

bigbot commented Feb 27, 2018

Autotagging @bigcommerce/storefront-team @davidchin

@mjschock mjschock merged commit ccc18d2 into bigcommerce:master Feb 28, 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.

None yet

3 participants