R
R
run1822021-01-27 12:55:12
1C-Bitrix
run182, 2021-01-27 12:55:12

How to subscribe to a product subscription event?

I didn’t find the event, I tried the product update event - it also doesn’t work, the option remains to customize the subscription component.

I am addressing here, because there is no information in the documentation, and the community knows more about it than the Bitrix TP (bless her).

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
run182, 2021-01-27
@run182

I gave up early)
Event - \Bitrix\Catalog\Subscribe::onAdd The
article https://dev.1c-bitrix.ru/learning/course/index.php... helped . It talks about ORM events. Of course, there is no Subscribe class, but there is SubscribeTable. Doesn't work with SubscribeTable, but removing Table worked!

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question