IsExistCoupon
bool CCatalogDiscountCoupon::IsExistCoupon( string strCoupon );
Method checks for existing coupon. Non-static method.
Attention! Method has deprecated, use this method instead: \Bitrix\Sale\DiscountCouponsManager::isExist.
Call parameters
Parameter | Description |
---|---|
strCoupon | Coupon code. |
Returned value
In case coupon is available, returns true and false otherwise.
© «Bitrix24», 2001-2024