Jump to content

Empty Shopping Cart in prestashop 1.5.1


Recommended Posts

Hello,

 

Our development team has explained the solution in our forge (http://forge.prestas...owse/PSCFV-5698)

 

"Hi everyone,

 

We finally understand how to reproduce this issue.

That happening only when you access to your shop with the an url which is different of your shop domain configured in your BackOffice, eg : you configure www.domain.com in your backoffice and you try to access to domain.com in your front-office.

 

The fix of this issue is available here : https://github.com/P...2c2826fe701c916

You need to delete the three lines below in your file classes/shop/Shop.php

 

// Optimization - don't redirect and allow WS and other script to work

if (!$id_shop)

$id_shop = Configuration::get('PS_SHOP_DEFAULT');

 

(and of course clear your browser cookies a last time )"

 

Please let me know if this solution works for you.

 

Regards,

 

Benjamin

Link to comment
Share on other sites

  • 1 month later...
×
×
  • Create New...