Documentation

create

\Bitrix\Sale\ShipmentItem::create(
	\Bitrix\Sale\ShipmentItemCollection $collection, 
	\Bitrix\Sale\BasketItem $basketItem = null
);

Method creates a shipment item and associates a collection to it. Static method.

Parameters

ParameterDescriptionVersion
$collectionCollection of shipments.
$basketItemProduct (null by default). Optional.

Example



© «Bitrix24», 2001-2024
Up