calculateComplete
void public static \Bitrix\Catalog\Product\Sku::calculateComplete( integer $id, null|integer $iblockId = null, null|integer $type = null );
Method is called when product availability, type and sorting by prices for products with SKUs must be updated. Receives as an argument a primary product ID or SKU ID. Static method.
Parameters
Parameter | Description | Version |
---|---|---|
$id | Product ID (SKUs). | |
$iblockId | Product iblock (when value is unknown, set as 0). | |
$type | Product type (when value is unknown, set as 0). |
Example
© «Bitrix24», 2001-2025