setSessionOfSibscribedProducts
public \Bitrix\Catalog\Product\SubscribeManager::setSessionOfSibscribedProducts( integer $itemId );
Method writes into the session a product ID, subscribed to by user. This method checks if user has already subscribed to this product. Non-static method.
Parameters
Parameter | Description | Version |
---|---|---|
$itemId | Product ID. |
Example
© «Bitrix24», 2001-2024
Up