Monday, 16 March 2015

Cart Empty in checkout Issues in magento

Cart Empty in checkout Issues
Shopping cart is empty magento
System->Configuration->WEB->Cookie Session.
Set Cookie Lifetime to: 86400

Mage_PageCache - External full page cache



system->config->system->External Full Page Cache Setting
Session Lifetime (seconds) : 3600
Security
System > Configuration > Admin > Security
Session Lifetime (seconds) : 14400
Turn “Validate HTTP_USER_AGENT” to yes (see screenshot) and refresh cache.
System->Configuration->WEB-> Session validation setting
Validate HTTP_USER_AGENT : yes






magento\app\code\core\Mage\Core\Model\Session\Abstract\Varien.php
$cookieParams = array(
‘lifetime’ => $cookie->getLifetime(),
‘path’ => $cookie->getPath(),
‘domain’ => $cookie->getConfigDomain(),
‘secure’ => $cookie->isSecure(),
‘httponly’ => $cookie->getHttponly()
);
change to
$cookieParams = array(
‘lifetime’ => $cookie->getLifetime(),
‘path’ => $cookie->getPath()
);







No comments:

Post a Comment