• Модуль: sale
  • Путь к файлу: ~/bitrix/modules/sale/lib/configuration.php
  • Класс: BitrixSaleConfiguration
  • Вызов: Configuration::needShipOnAllowDelivery
static function needShipOnAllowDelivery()
{
	$registry = Registry::getInstance(Registry::REGISTRY_TYPE_ORDER);
	$optionClassName = $registry->get(Registry::ENTITY_OPTIONS);

	return ((string)$optionClassName::get('sale', 'allow_deduction_on_delivery') === 'Y');
}