Documentation

reduceProductQuantity

 public static
\Bitrix\Sale\ProviderBase::reduceProductQuantity(
 \Bitrix\Sale\ShipmentCollection $shipmentCollection,
 array $shipmentReserveList = array()
);

Method decreases the amount of available product, if reserving is disabled. Static method.

Parameters

ParameterDescriptionVersion
$shipmentCollectionObject of class \Bitrix\Sale\ShipmentCollection.
$shipmentReserveListArray with reserved products.

Example



© «Bitrix24», 2001-2024
Up