Documentation

isContainGiftAction

boolean public
\Bitrix\Sale\Discount\Gift\Manager::isContainGiftAction(
 array $discount
);

Method returns true, if shopping cart discount contains action with a gift. Non-static method.

Parameters

ParameterDescriptionVersion
$discountArray with discount parameters.

Example



© «Bitrix24», 2001-2024
Up