Bitrix Site Manager

CSaleLocationGroup::Delete

bool
CSaleLocationGroup::Delete(
  int ID
);

The method Delete deletes a location group. Locations of this group remain untouched.

Parameters

ParameterDescription
ID The location group ID.

Return Values

Returns true on success or false otherwise.

Example



<?
if (!CSaleLocationGroup::Delete(2))
   echo "Error deleting a location group";
?>