Jump to content

How to delete customer cookies


Recommended Posts

Hello, i have problem with my prestashop. I need change prestashop store url from non-www to www.mysite.com. But when i change it, cart and login not working. I think its problem with old cookies. Can anybody help me? Thanks in advance!

Link to comment
Share on other sites

  • 4 months later...

Hi, I have the same problem its definitely a cookie problem. If you delete your browser cookies it should work.

 

But now Im trying to find something to clear cookies from every customer, because, they wont do it manualy. And I tryed almost everything from the BO , clear cache, force compile... nothing helped

Link to comment
Share on other sites

  • 1 year later...

You can try to change the cookie name in classes/cookie.php.

 

Search for: $this->_name = 'Prestashop-'.md5(($this->_standalone ? '' : _PS_VERSION_).$name); 

 

And change Prestashop with your shop name for example. This will make all your customers cookies obsolete.

  • Like 1
Link to comment
Share on other sites

×
×
  • Create New...