T
T
tgarl2021-08-18 13:38:00
1C-Bitrix
tgarl, 2021-08-18 13:38:00

How can order lists get orders from all sites with multisite?

The initial data is as follows:
There is a component bitrix:sale.personal.order.list
A second language has appeared, a second site is made on the /en/ subsection, now you need to get all orders. Are there any relatively simple options? Or just rewrite the component?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
PetrPo, 2021-08-18
@tgarl

rewrite class.php

protected function prepareFilter()
{
//......
  $arFilter["LID"] = SITE_ID;
//......

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question