Update
int CSaleDiscount::Update( int ID, array arFields );
The method Update updates parameters of the discount.
Parameters
Parameter | Description |
---|---|
ID | The discount ID. |
arFields | Associated array whose keys are the names of the discount parameters to
be updated, and values are the new parameter values. You can specify keys
that require update only; other parameters remain will untouched. The following keys are possible:
|
Returned values
Returns the ID of the updated discount or false otherwise.
© «Bitrix24», 2001-2024