Bitrix Site Manager

CSaleOrderProps::Delete

bool
CSaleOrderProps::Delete(
  int ID
);

The method Delete deletes a specified property. Currently existing values of this property are unbound from the deleted property. All dependencies currently existing in a customer profile are removed as well.

Parameters

ParameterDescription
ID The ID of the property to be deleted.

Return Values

Returns true on success or false otherwise.

Example



<?
if (!CSaleOrderProps::Delete(12))
   echo "error deleting property";
?>