Documentation

setOrder

\Bitrix\Sale\Discount public static
\Bitrix\Sale\Discount::setOrder(
 \Bitrix\Sale\Basket $basket
);

Method is needed when discounts were calculated for a shopping cart object and then this cart was associated to an order. Static method .

Parameters

ParameterDescriptionVersion
$basketShopping cart object.

Example



© «Bitrix24», 2001-2024