Documentation

clearByBasketItem

void public static
\Bitrix\Sale\Internals\OrderRulesTable::clearByBasketItem(
 integer $basket
);

Method clears rules and discounts, applied to a shopping cart item with code $basket. Static method.

Parameters

ParameterDescriptionVersion
$basketShopping cart item ID.

Example



© «Bitrix24», 2001-2024
Up