Documentation

clearBasketItemData

void public
\Bitrix\Sale\Discount::clearBasketItemData(
 integer|string $code
);

Method deletes internal data cache for shopping cart item. Called when deleting a shopping cart item. Non-static method.

Parameters

ParameterDescriptionVersion
$codeShopping cart code.

Example



© «Bitrix24», 2001-2024
Up