Documentation

create

\Bitrix\Sale\BasketBase::create($siteId);

Method creates shopping cart for the site $siteId. Static method.

Parameters

ParameterDescriptionVersion
$siteIdSite ID.

Example



© «Bitrix24», 2001-2024
Up