Documentation

CSaleBasket

This class has been deprecated. Use the class \Bitrix\Sale\Basket of the new core.

Class methods

Method DescriptionAvailable from version
Init Method initializes internal code for shopping cart owner. 3.2.2
Update Method updates parameters for product with ID based on array arFields. 3.2.2
GetByID Method returns parameters for shopping cart records with ID 3.2.2
GetList Method returns result of retrieved records from shopping cart according to its parameters. 3.2.2
GetPropsList Method returns result of retrieved records from shopping cart according to its parameters.3.2.2
UpdatePrice Method updates a shopping cart record parameters with ID, based on provider PRODUCT_PROVIDER_CLASS (starting from version 12.5) or callback function for supporting up-to-date shopping cart CALLBACK_FUNC (before version 12.5).3.2.2
OrderBasket Method associates to an order the products with OrderID from shopping cart available to order and not saved for later. 3.2.2
Add Method adds a product into a shopping cart, if not yet available and updates product parameters with an increase quantity, if its already located in the shopping cart.3.2.2
GetBasketUserID Method returns an internal code for shopping cart owner. 4.0.6
Delete Method deletes a shopping cart record with ID. 3.2.2
DeleteAll Method deletes from shopping cart all records with owner fUserID. 3.2.2


© «Bitrix24», 2001-2024
Up