Skip to content

Commit

Permalink
Merge pull request #749 from magento-engcom/693-fix-add-to-cart-qty
Browse files Browse the repository at this point in the history
Fix add to cart using itemQty instead of requestedQty
  • Loading branch information
maghamed authored Mar 24, 2018
2 parents 7ec7737 + d9825b0 commit 3b5a20b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public function aroundCheckQuoteItemQty(
$result = $this->objectFactory->create();
$result->setHasError(false);

$qty = $this->getNumber($qtyToCheck);
$qty = $this->getNumber($itemQty);

$skus = $this->getSkusByProductIds->execute([$productId]);
$productSku = $skus[$productId];
Expand Down

0 comments on commit 3b5a20b

Please sign in to comment.