'data_type' => 'Bitrix\Sale\Internals\ServiceRestrictionTable',
'reference' => array(
'ref.SERVICE_ID' => 'this.ID',
'ref.SERVICE_TYPE' => array('?', \Bitrix\Sale\Delivery\Restrictions\Manager::SERVICE_TYPE_SHIPMENT),
'ref.CLASS_NAME' => array('?', '\Bitrix\Sale\Delivery\Restrictions\BySite')
),
'join_type' => 'left'
)
);
$magicDontTouch['select'] = array(
'*',
'SITES' => 'RESTRICTION_BY_SITE.PARAMS'
);
а потом \Bitrix\Sale\Delivery\Services\Table::getList($magicDontTouch);
во я выпал((
Обсуждают сегодня