Documentation

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

ParameterDescriptionVersion
$idProduct ID (SKUs).
$iblockIdProduct iblock (when value is unknown, set as 0).
$typeProduct type (when value is unknown, set as 0).

Example



© «Bitrix24», 2001-2024
Up