Documentation

Add

int
CSaleOrderPropsGroup::Add(
  array arFields
);

The method Add adds a new order property group. Groups are used solely for arranging (grouping) properties.

Parameters

ParameterDescription
arFields Associated array of an order property group parameters whose keys are the order parameter names, and values are the parameter values.

The following values are possible:
  • PERSON_TYPE_ID - the payer type ID;
  • NAME - group name (the payer type is dependent on a site while the latter depends on the language used. This implies that the name should be specified in the corresponding language);
  • SORT - sort weight.

Returned values

Returns the new group ID or false otherwise.

© «Bitrix24», 2001-2024
Up