Add
int CSaleOrderUserPropsValue::Add( array arFields );
The method Add adds a new property to the customer profile.
Parameters
Parameter | Description |
---|---|
arFields | Associated array of a new property parameters whose keys are the order
parameter names, and values are the parameter values. The following values are possible:
|
Returned values
Returns the ID of an added customer profile property on success, or false otherwise.
Example
<? $arFields = array( "USER_PROPS_ID" => 1258, "ORDER_PROPS_ID" => 12, "NAME" => "ZIP code", "VALUE" => "23605" ); CSaleOrderUserPropsValue::Add($arFields); ?>
© «Bitrix24», 2001-2024