cancel
Showing results for 
Search instead for 
Did you mean: 

Shopping list is empty in Google Chrome but OK in Firefox.

Highlighted

Shopping list is empty in Google Chrome but OK in Firefox.

Hello,

I read the https://community.magento.com/t5/Magento-1-x-Technical-Issues/Magento-1-9-2-3-After-successful-Payme...  and I have the same problem.

The customers buying products but the shopping list is empty. I did the changes that you said and restart the Apache service but problem not solved.

My changes are:

class Mage_Core_Model_Cookie
{
const XML_PATH_COOKIE_DOMAIN = 'web/cookie/cookie_domain';
const XML_PATH_COOKIE_PATH = 'web/cookie/cookie_path';
const XML_PATH_COOKIE_LIFETIME = 'web/cookie/cookie_lifetime';
const XML_PATH_COOKIE_HTTPONLY = 'web/cookie/cookie_httponly';
const SAMESITE = ';samesite=None; Secure';

protected $_lifetime;

/**
* Store object
*
* @var Mage_Core_Model_Store
*/
protected $_store;
...

And:

<?php
/**
* Magento
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE_AFL.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@magento.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade Magento to newer
* versions in the future. If you wish to customize Magento for your
* needs please refer to http://www.magento.com for more information.
*
* @category design
* @package base_default
* @copyright Copyright (c) 2006-2015 X.commerce, Inc. (http://www.magento.com)
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
*/
?>
<?php
/**
* Cookie settings initialization script
*
* @see Mage_Page_Block_Js_Cookie
*/
?>

<script type="text/javascript">
//<![CDATA[
Mage.Cookies.path = '<?php echo Mage::helper('core')->jsQuoteEscape($this->getPath()) ?>;samesite=None; Secure';
Mage.Cookies.domain = '<?php echo Mage::helper('core')->jsQuoteEscape($this->getDomain()) ?>';
//]]>
</script>

What is my mistake?

 

Thank you.

 

3 REPLIES 3
Highlighted

Re: Shopping list is empty in Google Chrome but OK in Firefox.

Any idea to solve it? It is serious for me.

Should I restart or clear Magento cache?

Thank you.

Highlighted

Re: Shopping list is empty in Google Chrome but OK in Firefox.

Can anyone here provide some helps? Thank you.
Highlighted

Re: Shopping list is empty in Google Chrome but OK in Firefox.

Can anyone here provide some helps? Thank you.