Answer the question
In order to leave comments, you need to log in
How to display orders in the personal account from two sites in Bitrix?
I use the regular component of the user's personal account.
Installed it on the page, set it up.
If the order was placed through the desktop version of the site example.ru, then it is shown only in the personal account on the Desktop.
But we have under the domain m.example.ru
Orders placed through the mobile version are visible in the same way, only in the personal account on this version.
The question is how to show all orders of one client everywhere? Regardless of the version
Answer the question
In order to leave comments, you need to log in
At the moment, not normally. It is necessary to take out the sale.personal.order.list component and edit the prepareFilter() function in class.php, namely $arFilter["LID"] = SITE_ID; to $arFilter["LID"] = $this->arParams['SITE_IDS'];
arParams['SITE_IDS'] - parameter, the list of sites can be entered into the component call parameters (s1, s2, etc.).
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question