CSaleDiscount
The method CSaleDiscount::DoProcessOrder
was used for calculating shopping cart rules before the release of the new online store kernel. Starting from version 15.5 is it deemed as deprecated and is strictly no recommended for use. Instead, use the class \Bitrix\Sale\Discount.
The CSaleDiscount class is used to manipulate discounts.
Methods
Method | Description |
---|---|
GetList | Returns a sorted and filtered list of discounts. |
GetByID | Returns the discount parameters. |
Update | Updates parameters of the discount. |
Delete | Deletes a discount. |
Add | Adds a new discount. |
© «Bitrix24», 2001-2024