activateSubscription
boolean public \Bitrix\Catalog\Product\SubscribeManager::activateSubscription( array $listSubscribeId, integer $timePeriod );
Method activates product subscription by clearing the field DATE_TO
or indicating subscription period. Non-static method.
Parameters
Parameter | Description | Version |
---|---|---|
$listSubscribeId | List of subscription IDs. | |
$timePeriod | Subscription period in seconds. |
Exception
- \Exception
Example
© «Bitrix24», 2001-2024
Up