Documentation

appendBasket

\Bitrix\Sale\Result public
\Bitrix\Sale\OrderBase::appendBasket(
	\Bitrix\Sale\BasketBase $basket
);

Method attaches shopping cart to a new order. When attempting to associate shopping cart to an existing order, throes an exception: \Bitrix\Main\NotSupportedException . Non-static method.

Parameters

ParameterDescriptionVersion
$basketShopping cart object.

Exception

  • \Bitrix\Main\NotSupportedException

Example



© «Bitrix24», 2001-2022
Up