Documentation

catalog.productPropertyFeature.add

catalog.productPropertyFeature.add(fields)

Method adds parameter for product or SKU property.

Parameters

ParameterType Description
fieldsobject Fields, matching available list of fields.

Examples

BX24.callMethod(
    'catalog.productPropertyFeature.add', 
	{
        fields: {
			  propertyId: 128,
			  featureId: "IN_BASKET",
			  moduleId: "catalog",
			  isEnabled: "Y"
        }
    },
    function(result) {
        if (result.error())
            console.error(result.error().ex);
        else
            console.log(result.data());
    });

© «Bitrix24», 2001-2024