Documentation

clear

boolean public static
\Bitrix\Sale\DiscountCouponsManager::clear(
 boolean $clearStorage = false
);

Method removes entered coupons on a current hit. Static method.

Parameters

ParameterDescriptionVersion
$clearStorageWhen parameters is true, entered coupons will be removed from session.

Example



© «Bitrix24», 2001-2024
Up