Documentation

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

ParameterDescriptionVersion
$primaryDiscount primary key.

Example



© «Bitrix24», 2001-2023
Up