Skip to content

Commit

Permalink
Fix cart quantity for bundled items
Browse files Browse the repository at this point in the history
  • Loading branch information
bookernath committed Nov 7, 2019
1 parent e038d3b commit 1504255
Show file tree
Hide file tree
Showing 4 changed files with 100 additions and 161 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## Draft
- Fixes body text color not taking effect for cart item headings on mobile / tablet [#1586](https://github.com/bigcommerce/cornerstone/pull/1586)
- Fix styling of review modal image [#1592](https://github.com/bigcommerce/cornerstone/pull/1592)
- Fix cart quantity calculation for bundled products [#1596](https://github.com/bigcommerce/cornerstone/pull/1596)

## 4.2.1 (2019-10-15)
- Added missing gift certificate translation
Expand Down
2 changes: 1 addition & 1 deletion assets/js/theme/global/cart-preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export default function (secureBaseUrl, cartId) {

// Get updated cart quantity from the Cart API
const cartQtyPromise = new Promise((resolve, reject) => {
utils.api.cart.getCartQuantity({ baseUrl: secureBaseUrl }, (err, qty) => {
utils.api.cart.getCartQuantity({ baseUrl: secureBaseUrl, cartId }, (err, qty) => {
if (err) {
reject(err);
}
Expand Down
Loading

0 comments on commit 1504255

Please sign in to comment.