Put This on Customer/logout.phtml
In script
comment setTimeout(function(){ location.href = '<?php //echo $this->getUrl()?>'}5000);
replace with this
setTimeout(function(){ location.href = '<?php //echo $this->getUrl()
$customerLoginURL = Mage::getBaseUrl();
Mage::app()->getFrontController()->getResponse()->setRedirect
($customerLoginURL)->sendResponse();
?>'},5000);
Magento
In script
comment setTimeout(function(){ location.href = '<?php //echo $this->getUrl()?>'}5000);
replace with this
setTimeout(function(){ location.href = '<?php //echo $this->getUrl()
$customerLoginURL = Mage::getBaseUrl();
Mage::app()->getFrontController()->getResponse()->setRedirect
($customerLoginURL)->sendResponse();
?>'},5000);
No comments:
Post a Comment