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
onProductUpdate
boolean public static \Bitrix\Catalog\SubscribeTable::onProductUpdate( integer $productId, array $fields );
Handler for the event onProductUpdate
. Sends notification to subscribers about product availability (event for standard products).
Parameters
Parameter | Description | Version |
---|---|---|
$productId | Product ID. | |
$fields | Array with event data. |
Example
© «Bitrix24», 2001-2024
Up