Bitrix Site Manager

CSaleTax::Add

int
CSaleTax::Add(
 array arFields
);

The method Add creates a new tax given its parameters.

Parameters

ParameterDescription
arFields Associated array containing parameters of the new tax whose keys are the order parameter names, and values are the parameter values.

The following values are possible:
  • LID - the site ID;
  • NAME - tax name;
  • DESCRIPTION - tax description;
  • CODE - mnemonic code.

Return Values

Returns the ID of the new tax on success or false otherwise.

 

>