Skip to content

Commit 2800098

Browse files
committed
AC-2457: Checkout Improvements
1 parent f0ae4fb commit 2800098

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Checkout/Controller/Sidebar/UpdateItemQty.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,8 @@ public function execute()
8989
$e = new InputException(__('A non-numeric value found')) ;
9090
return $this->jsonResponse($e->getMessage());
9191
}
92+
$itemQty = $this->quantityProcessor->prepareQuantity($itemQty);
9293
try {
93-
$itemQty = $this->quantityProcessor->prepareQuantity($itemQty*1);
9494
$this->sidebar->checkQuoteItem($itemId);
9595
$this->sidebar->updateQuoteItem($itemId, $itemQty);
9696
return $this->jsonResponse();

0 commit comments

Comments
 (0)