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