opencart 3.0.3.2 after logging not merged items.

edited December 2020 in Opencart

After logging in with facebook, it occurred that the items in the shopping cart before logging in were not merged into the items after logging in,
but logging in with google is no problem. (Not every time, about 50% chance)

I think the problem is in system/library/cart/cart.php __consturct(), but I don’t know why facebook gets the getId() function not every time

Has anyone else encountered this problem?

Answers

  • I found that when I log in using oneall, I have the opportunity to update the session ID. Even if I change the session cookie_lifetime and session gc_maxlifetime, I still have the same problem. Therefore, when I update the session ID, the products added without logging in will disappear after logging in.

Welcome!

Please sign in to your OneAll account to ask a new question or to contribute to the discussions.

Please click on the link below to connect to the forum with your OneAll account.