calculatePrice
void public static \Bitrix\Catalog\Product\Sku::calculatePrice( integer $id, null|integer $iblockId = null, null|integer $type = null, array $priceTypes );
Method Only updates sorting by SKU prices (under condition that product availability and product type are already correct). Static method.
Параметры
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). | |
$priceTypes | Product price IDs (not specified, when all types must be indicated). |
Example
© «Bitrix24», 2001-2024