Documentation

saveOrderDiscountModules

boolean public static
\Bitrix\Sale\Internals\OrderModulesTable::saveOrderDiscountModules(
 integer $discountId,
 array $moduleList
);

Method saves modules, required for shopping cart discounts. Static method.

Parameters

ParameterDescriptionVersion
$discountIdDiscount ID in order.
$moduleListList of modules

Example



© «Bitrix24», 2001-2024
Up