Documentation

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

ParameterDescriptionVersion
$productIdProduct ID.
$iblockIdIblock ID.

Returned value

Returns one of constants self::OFFERS_XXX.

Exceptions

Example



© «Bitrix24», 2001-2024
Up