G
G
Goldsliders2021-09-28 10:33:34
1C-Bitrix
Goldsliders, 2021-09-28 10:33:34

How to get the sum of all user orders and assign a new group to him with a certain number of orders?

It is necessary to get the total number of user orders, and if orders are 6 or more, then assign a new group to him.
How to implement?
Found this option .
But for some reason it didn't work very well.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Eugene, 2021-09-28
@udjin123

Obsolete events follow the link, they do not work by default, you need to enable the processing of obsolete events in the admin panel. What the documentation says here
It's better to use the new order save event, documentation accordingly here

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question