Bitrix Site Manager

CExtra::Delete

bool
CExtra::Delete(
 int ID
);

The method Delete deletes the specified discount from the database. If any price has been fixed using the base price and this discount, such a price is assigned an absolute number. The final value of an affected price does not change.

Parameters

ParameterDescription
ID Discount ID.

Return Values

Returns True on success or False otherwise.