D7 API documentation
What's New
Modules
Catalog in the old core
checkPermissionSubscribe
getContactTypes
getMap
getTableName
onAddContactType
onIblockElementDelete
onProductSetAvailableUpdate
onProductUpdate
onSaleOrderSaved
onUserDelete
runAgentToSendNotice
runAgentToSendRepeatedNotice
sendNotice
sendRepeatedNotice
setOldProductAvailable
validateNeedSending
validateSiteId
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
Up