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

Update product UPC when options are selected #1089

Merged
merged 1 commit into from
Sep 27, 2017

Conversation

junedkazi
Copy link
Contributor

What?

Selecting an option does not change the UPC to the UPC set on that option's SKU. The UPCs should change based on the option selected & should display the UPC of the option.

Tickets / Documentation

https://jira.bigcommerce.com/browse/STENCIL-3639

@bigcommerce/stencil-team

@@ -70,6 +70,7 @@ export default class ProductDetails {
$input: $('[data-product-stock]', $scope),
},
$sku: $('[data-product-sku]'),
$upc: $('[data-product-upc]'),
Copy link
Contributor Author

@junedkazi junedkazi Sep 27, 2017

Choose a reason for hiding this comment

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

The data tag already exists

<dd class="productView-info-value" data-product-upc>{{product.upc}}</dd>

@junedkazi junedkazi merged commit 5840918 into bigcommerce:master Sep 27, 2017
@junedkazi junedkazi deleted the STENCIL-3639-update-upc branch September 27, 2017 20:57
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.

2 participants