G
G
Good Samaritan2021-06-03 17:19:08
1C-Bitrix
Good Samaritan, 2021-06-03 17:19:08

Why is the wrong number of items in the cart being returned?

I'm trying to return the quantity of an item after adding it to the cart using ajax. I do so

CSaleBasket::GetList(false, ["FUSER_ID" => CSaleBasket::GetBasketUserID(), "LID" => SITE_ID, "ORDER_ID" => "NULL"], [], false, ['ID']);

Returned 3. It should be noted that the type of goods - kits.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question