Skip to content

Commit 0b38c85

Browse files
committed
MAGETWO-30795: Optimization of CollectTotalsFailedItems
1 parent a1ab120 commit 0b38c85

File tree

1 file changed

+1
-0
lines changed
  • app/code/Magento/Checkout/Controller/Cart

1 file changed

+1
-0
lines changed

app/code/Magento/Checkout/Controller/Cart/Index.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ class Index extends \Magento\Checkout\Controller\Cart
1414
*/
1515
public function execute()
1616
{
17+
$this->_eventManager->dispatch('collect_totals_failed_items');
1718
if ($this->cart->getQuote()->getItemsCount()) {
1819
$this->cart->init();
1920
$this->cart->save();

0 commit comments

Comments
 (0)