Documentation

sale.basketproperties.getFields

sale.basketproperties.getFields()

The method returns element fields for shopping cart properties.

Returned fields:

Field Description
idProduct ID.
basketIdShopping cart ID.
nameProduct name.
valueProperty value.
codeProperty code.
sortSorting.
xmlIdExternal identifier.

Parameters

No parameters.

Examples

BX24.callMethod(
    'sale.basketproperties.getFields', 
    {}, 
    function(result)
    {
        if(result.error())
            console.error(result.error().ex);
        else
            console.log(result.data());
});


© «Bitrix24», 2001-2022
Up