1С-Битрикс
18
Вклад в тег
$result = \Bitrix\Sale\Delivery\Services\Table::getList(array(
'filter' => array('ACTIVE'=>'Y'),
));
while($delivery=$result->fetch())
{
print_r($delivery);
}
Array
(
[ID] => 1
[CODE] =>
[PARENT_ID] => 0
[NAME] => Без доставки
[ACTIVE] => Y
[DESCRIPTION] =>
[SORT] => 100
[LOGOTIP] =>
[CONFIG] => Array
(
[MAIN] => Array
(
[CURRENCY] => RUB
[PRICE] => 350
[PERIOD] => Array
(
[FROM] => 0
[TO] => 0
[TYPE] => D
)
)
)
[CLASS_NAME] => \Bitrix\Sale\Delivery\Services\EmptyDeliveryService
[CURRENCY] => RUB
[TRACKING_PARAMS] =>
[ALLOW_EDIT_SHIPMENT] => Y
[VAT_ID] =>
[XML_ID] => bx_1a6bf95e42d159b107a2679e2ad8a3a8
)