Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $this->_messageManager->addSuccessMessage(__("All requested products have been added to the cart."));
- window.location.href = "/checkout/cart";
- return $this->resultRedirectFactory->create()->setPath('checkout/cart', ['_current' => true]);
- $resultRedirect = $this->resultRedirectFactory->create();
- $resultRedirect->setPath('checkout/cart');
- return $resultRedirect;
Add Comment
Please, Sign In to add comment