put End of the page:

Ex: like custome order custom index menagement , custom add to cart etc

in the end:

$message = (‘Your cart has been updated successfully.’);
Mage::getSingleton(‘checkout/session’)->addSuccess($message);

$destinationUrl = $this->getUrl(‘checkout/cart/’);
$response = Mage::app()->getResponse();
$response->setRedirect($destinationUrl, 301);
$response->sendResponse();

By admin

2 thoughts on “How to redirect from the static page in magento”
  1. This is the proper How to redirect from the static page in magento Nirav Chauhan – A PHP Developer diary for anyone who wants to move out out around this matter. You asking so much its nigh effortful to converse with you (not that I rattling would want…HaHa). You definitely put a new twist on a issue thats been cursive around for eld. Good whatsis, but majuscule!

Leave a Reply

Your email address will not be published. Required fields are marked *