Answer the question
In order to leave comments, you need to log in
How to check if a user placed orders in the Bitrix online store?
Good evening.
The customer wants feedback to be able to leave a user who:
1. Logged in;
2. Made an order;
3. Feedback can only be left for the ordered product;
Accordingly, I want to make a check for the button "Write a review" . With authorization, everything is clear $GLOBALS['USER']->IsAuthorized(), but what about the rest? Through which class can you check information about the presence of already formed orders in the user, or if there is a more rational way to solve the problem?
Good evening everyone! :)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question