K
K
Kirill Gorelov2019-10-23 20:03:28
1C-Bitrix
Kirill Gorelov, 2019-10-23 20:03:28

Bitrix, the cart is being reset?

Hi everybody.
I am using the small basket component.
The situation is the following.
Logged in, added product A to the cart. Logged out, cart was empty. Added product B, logged in again. There is item A in the cart, instead of B. I logged out again, item B is gone, the cart is empty again.
Miracles, guys, how can I fix / fix it ??
ps in the store settings unchecked "Encode store user ID:" did not help.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alex-1917, 2019-10-23
@alex-1917

For authorized people, the basket is stored in the database, for all other left-handed people who are not authorized and shove into the basket without looking, this basket is stored in the session.
Logged in - the session was replaced by a session from the database, the basket was loaded from the database accordingly.
Left the browser - the session died.
It’s not miracles, it’s you who didn’t pass the Bitrix store administrator course, why then climb into Bitrix?
go to wordpress, joomla, other shit...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question