Documentation

Delete

bool
CCatalog::Delete(
 int ID
);

Method deletes iblock binding with ID to a catalog. Deletes also product parameters and prices in the catalog. Product description related to an iblock element remains unchanged. Non-static method.

Before deleting, call an event handler OnBeforeCatalogDelete.

Parameters

ParameterDescription
ID Iblock - catalog code.

Returned value

Returns true on successfully deleted record and false otherwise.



© «Bitrix24», 2001-2024