Documentation

generateCoupon

string public static
\Bitrix\Sale\Internals\DiscountCouponTable::generateCoupon(
 boolean $check = false
);

Method generates coupon code. Static method.

Parameters

ParameterDescriptionVersion
$checkDefines to check new coupon or not.

Example



© «Bitrix24», 2001-2024
Up