E
E
Ex1st2021-03-12 09:09:05
1C-Bitrix
Ex1st, 2021-03-12 09:09:05

How to limit the number of goods in one Bitrix hands?

How to limit the number of products that a user can add to the cart based on the presence of a certain property?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Eugene, 2021-03-12
@Ex1st

Use the OnBeforeBasketAdd and OnBeforeBasketUpdate events
In the handler, check the condition and adjust the quantity in the basket.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question