71 'error_message' => $error,
86 $item = $this->cart->getQuote()->getItemById($itemId);
101 $this->cart->removeItem($itemId);
116 $itemData = [$itemId => [
'qty' => $this->
normalize($itemQty)]];
117 $this->cart->updateItems($itemData)->save();
130 $filter = new \Zend_Filter_LocalizedToNormalized(
131 [
'locale' => $this->resolver->getLocale()]
133 return $filter->filter($itemQty);
145 if (!$this->summaryQty) {
146 $this->summaryQty = $this->cart->getSummaryQty();
168 $totals = $this->cart->getQuote()->getTotals();
170 ?
$totals[
'subtotal']->getValue()
172 return $this->helperData->formatPrice($subtotal);