delete
\Bitrix\Main\Entity\DeleteResult public static \Bitrix\Catalog\DiscountTable::delete( mixed $primary );
Method deletes discount with primary key $primary
. Static method and a method stub, creating exceptions for discount updates. Presently, you must use the Old core API.
Parameters
Parameter | Description | Version |
---|---|---|
$primary | Discount primary key. |
Example
© «Bitrix24», 2001-2024