A
A
Andrey2017-03-19 19:43:44
1C-Bitrix
Andrey, 2017-03-19 19:43:44

How to update the quantity of goods in sale.basket.basket.line?

If you enable the option "Enable quantity accounting" in the settings of the Trade catalog and the product has a quantity of 0, then it will not be available for purchase, the CAN_BUY property in the catalog will be false.
However, it will be present in the sale.basket.basket.line and sale.basket.basket.small components as available for purchase. If you go to the page with the sale.basket.basket component, then the item from the basket will disappear.
That is, sale.basket.basket can update product statuses, but sale.basket.basket.line cannot. When checking, it is clear that the CAN_BUY property remains true there.
How can I "teach" this component to show actual data on load?

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