M
M
m4tkv2019-10-08 15:44:22
1C-Bitrix
m4tkv, 2019-10-08 15:44:22

How to catch the bitrix cart update event?

I am writing my own module. It has methods that should work on certain events:
1) Add an item to the cart
2) Update the item in the cart
3) Remove the item from the cart
4) Place an order
When adding to the cart, the OnBasketAdd Bitrix event is used.
When updating the basket, I decided to set the OnBasketUpdate event, but it only duplicates the OnBasketAdd event, and does not respond to resizing in the basket.
Tell me which event to subscribe to when the cart is updated

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
m4tkv, 2019-10-08
@m4tkv

Everything works, I'm just an idiot)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question