getOfferState
integer public static \Bitrix\Catalog\Product\Sku::getOfferState( integer $productId, integer $iblockId );
Method returns flag for general status of product SKUs with $productId
for the method Sku::getDefaultParentSettings. Static method.
Parameters
Parameter | Description | Version |
---|---|---|
$productId | Product ID. | |
$iblockId | Iblock ID. |
Returned value
Returns one of constants self::OFFERS_XXX.
Exceptions
Example
© «Bitrix24», 2001-2025