Skip to content

Commit

Permalink
Merge 554e0d8 into 0286b77
Browse files Browse the repository at this point in the history
  • Loading branch information
jgfidelis committed Apr 1, 2019
2 parents 0286b77 + 554e0d8 commit 83cc76e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Expand Up @@ -6,6 +6,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [Unreleased]
### Changed
- Use `cartIndex` to correctly update items quantity on cart.

## [2.14.3] - 2019-03-28
### Fixed
Expand Down
2 changes: 2 additions & 0 deletions react/components/ProductQuantityStepper.js
Expand Up @@ -66,13 +66,15 @@ class ProductQuantityStepper extends Component {
const {
sku: { itemId: id },
seller = {},
cartIndex,
} = product
try {
await updateItems([
{
id,
quantity,
seller: seller.sellerId,
index: cartIndex,
},
])
} catch (err) {
Expand Down

0 comments on commit 83cc76e

Please sign in to comment.