cancel
Showing results for 
Search instead for 
Did you mean: 

How to redirect cart page programaticlly

How to redirect cart page programaticlly

Hi

 

Can anyone tell me how to redirect on cart page using with controller

1 REPLY 1

Re: How to redirect cart page programaticlly

@krishenuetb254 you can use the below code to redirect to cart page.

 

$url = $BaseURL . 'checkout/cart';
 $this->_response->setRedirect($url)->sendResponse();

Hope it helps!

 

Thanks