Skip to content

Commit

Permalink
Merge pull request #1234 from Souldjinn/CATALOG-2913
Browse files Browse the repository at this point in the history
fix(catalog): CATALOG-2913 individual low inventory count for skus
  • Loading branch information
ziad-abdo authored May 25, 2018
2 parents 9d1ce33 + e223dc3 commit 1acb31e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions assets/js/theme/common/product-details.js
Original file line number Diff line number Diff line change
Expand Up @@ -464,6 +464,9 @@ export default class ProductDetails {
// if the stock container is hidden, show
viewModel.stock.$container.removeClass('u-hiddenVisually');

viewModel.stock.$input.text(data.stock);
} else {
viewModel.stock.$container.addClass('u-hiddenVisually');
viewModel.stock.$input.text(data.stock);
}

Expand Down

0 comments on commit 1acb31e

Please sign in to comment.