We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0ae4fb commit 2800098Copy full SHA for 2800098
app/code/Magento/Checkout/Controller/Sidebar/UpdateItemQty.php
@@ -89,8 +89,8 @@ public function execute()
89
$e = new InputException(__('A non-numeric value found')) ;
90
return $this->jsonResponse($e->getMessage());
91
}
92
+ $itemQty = $this->quantityProcessor->prepareQuantity($itemQty);
93
try {
- $itemQty = $this->quantityProcessor->prepareQuantity($itemQty*1);
94
$this->sidebar->checkQuoteItem($itemId);
95
$this->sidebar->updateQuoteItem($itemId, $itemQty);
96
return $this->jsonResponse();
0 commit comments