applyDiscount
void public static \Bitrix\Catalog\Discount\DiscountManager::applyDiscount( array &$product, array $discount );
Calculates discounts to products when placing and editing an order. Static method.
Parameters
Parameter | Description | Version |
---|---|---|
&$product | Product parameters. | |
$discount | Array of discount parameters. |
Example
© «Bitrix24», 2001-2024
Up