Pilou Posted November 7, 2018 Share Posted November 7, 2018 Hello all, I had a Ps 1.6.1.0, migrated to Tb 1.06 then updated it to 1.07 When I connect to the frontoffice (as a customer), add product to cart, it's ok. If I disconnect and reconnect to the frontoffice, my cart is empty... When I was with Ps, the cart did not empty itself. So is it possible to correct that please ? I hope you understand what I mean, english is not my mother language. :) Link to comment Share on other sites More sharing options...
0 MockoB Posted November 7, 2018 Share Posted November 7, 2018 Did you tried with different browsers? You may be accidentally disabled cookies on your browser ... Link to comment Share on other sites More sharing options...
0 datakick Posted November 7, 2018 Share Posted November 7, 2018 what do you mean by disconnect and reconnect to the frontoffice ? Link to comment Share on other sites More sharing options...
0 MockoB Posted November 7, 2018 Share Posted November 7, 2018 Oh, he may be mean, if: log in, add products to the cart and log out. And next time when he logs in his account, the cart is empty. Is it correct @Pilou ? Or when you log in, add products to the cart and close the browser, then visit the site again? Is it same if you fill your cart as a guest? Link to comment Share on other sites More sharing options...
0 Pilou Posted November 7, 2018 Author Share Posted November 7, 2018 Yes correct MockoB ! If I close and reopen the browser, I stay connected, so do not loose the cart. Guests are disabled. Link to comment Share on other sites More sharing options...
0 MockoB Posted November 7, 2018 Share Posted November 7, 2018 Does it happen with all browsers? Link to comment Share on other sites More sharing options...
0 mauroagr Posted November 7, 2018 Share Posted November 7, 2018 In any time you dont use https and other http, or have bad links that browser dont recognize the cookie? Link to comment Share on other sites More sharing options...
0 Traumflug Posted November 7, 2018 Share Posted November 7, 2018 Loosing the cart when logging out is expected. Logging out happens by emptying the cookie, so the (link to the) cart vanishes together with the cookie. See https://github.com/thirtybees/thirtybees/blob/1.0.x/classes/Customer.php#L1177 and https://github.com/thirtybees/thirtybees/blob/1.0.x/classes/Cookie.php#L202 Not sure why it's designed this way. There are methods to do a "soft" logout as well, just removing customer credentials (https://github.com/thirtybees/thirtybees/blob/1.0.x/classes/Customer.php#L1197 and https://github.com/thirtybees/thirtybees/blob/1.0.x/classes/Cookie.php#L371), so it's apparently not a result of code writer laziness. Link to comment Share on other sites More sharing options...
0 Pilou Posted November 7, 2018 Author Share Posted November 7, 2018 @MockoB : yes, I tried with Firefox, Chrome and Edge. @mauroagr : I always use the same link. @Traumflug : I used to connect with a test customer account and I do not emptying the cookie. As, for example, on Amazon, you add product to your cart and make the purchase another day. Link to comment Share on other sites More sharing options...
0 Pilou Posted November 7, 2018 Author Share Posted November 7, 2018 And you can see in Back Office, Customers, Carts, a lot of abandonned carts https://i.imgur.com/wxmk9w2.jpg Link to comment Share on other sites More sharing options...
0 colorful-ant Posted November 7, 2018 Share Posted November 7, 2018 is your option preferences -> customers -> "Re-display cart at login - mod on ? Link to comment Share on other sites More sharing options...
0 Pilou Posted November 7, 2018 Author Share Posted November 7, 2018 Thank you very much colorful-ant, it was that ! :) It was on YES in the Ps and moved to NO while migrated in Tb. Thanks all and long life ThirtyBees ! Link to comment Share on other sites More sharing options...
Question
Pilou
Hello all,
I had a Ps 1.6.1.0, migrated to Tb 1.06 then updated it to 1.07
When I connect to the frontoffice (as a customer), add product to cart, it's ok. If I disconnect and reconnect to the frontoffice, my cart is empty...
When I was with Ps, the cart did not empty itself.
So is it possible to correct that please ?
I hope you understand what I mean, english is not my mother language. :)
Link to comment
Share on other sites
11 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now