Documentation

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

ParameterDescriptionVersion
$productIdProduct ID.
$iblockIdIblock ID (optional).
$productFieldsArray of product parameters (optional).

Exceptions

Example



© «Bitrix24», 2001-2024
Up