Documentation

setOldProductAvailable

boolean public static
\Bitrix\Catalog\SubscribeTable::setOldProductAvailable(
 integer $productId,
 string $available
);

Method saves old product availability value into a static variable for later check, how this availability was updated. Static method.

Parameters

ParameterDescriptionVersion
$productIdProduct ID.
$availableProduct purchase availability field.

Example



© «Bitrix24», 2001-2024
Up