Метод updateBasketItemProperties
Сигнатура метода
private function updateBasketItemProperties(Bitrix\Sale\BasketItemBase $basketItem, int $newProductId): void
Возвращает:
void
Описание
Removes old basket item's properties and creates new properties from the new product's properties
Параметры
2| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$basketItem
|
Bitrix\Sale\BasketItemBase
|
—
|
—
|
$newProductId
|
int
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulescrm/install/components/bitrix/crm.order.details/ajax.php
Расположение метода в файле
Строки
1593–1673