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
Parameter | Description | Version |
---|---|---|
$productId | Product ID. | |
$available | Product purchase availability field. |
Example
© «Bitrix24», 2001-2024