Skip to content

Commit

Permalink
2.2-develop-backport-21401
Browse files Browse the repository at this point in the history
  • Loading branch information
mageprince committed Mar 1, 2019
1 parent 13b0fe9 commit d504aa1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/code/Magento/Checkout/Controller/Cart/Addgroup.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ public function execute()
}
}
$this->cart->save();
} else {
$this->messageManager->addErrorMessage(__('Please select at least one product to add to cart'));
}
return $this->_goBack();
}
Expand Down

0 comments on commit d504aa1

Please sign in to comment.