D7 API documentation
What's New
Modules
Catalog in the old core
allowedUpdateAvailable
calculate
calculateComplete
calculatePrice
disableDeferredCalculation
disableUpdateAvailable
enableDeferredCalculation
enableUpdateAvailable
getDefaultParentSettings
getOfferState
handlerAfterIBlockElementSetPropertyValues
handlerAfterIblockElementAdd
handlerAfterIblockElementDelete
handlerAfterIblockElementUpdate
handlerIblockElementAdd
handlerIblockElementDelete
handlerIblockElementSetPropertyValues
handlerIblockElementUpdate
updateAvailable
usedDeferredCalculation
updateAvailable
boolean public static \Bitrix\Catalog\Product\Sku::updateAvailable( integer $productId, integer $iblockId, array $productFields = array() );
Method updates product pruchase availability flag. Static method.
Parameters
Parameter | Description | Version |
---|---|---|
$productId | Product ID. | |
$iblockId | Iblock ID (optional). | |
$productFields | Array of product parameters (optional). |
Exceptions
- \Bitrix\Main\ArgumentException
\Exception
Example
© «Bitrix24», 2001-2024
Up