I
I
I'm Yoda2017-07-29 19:00:11
1C-Bitrix
I'm Yoda, 2017-07-29 19:00:11

Where does Bitrix store data from the shopping cart?

Hello connoisseurs!
Please tell me where the items added to the cart are stored. The session print shows only the number of items in the cart, the cookies do not give any data about the cart at all. If you add an item to the cart and leave the site, and then come back even after a couple of days, the item in the cart is saved. Tell me where Bitrix writes them? In bd?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Nikolaev, 2017-07-29
@Anadi

Bitrix writes the contents of the basket to the database, but I do not advise you to get it directly - it's better to use the API.
If you are directly interested in a table with goods, then b_sale_basket and b_sale_basket_props. They tie into sale_user from table b_sale_fuser

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question