Documentation

getDiscountByHash

integer|boolean public static
\Bitrix\Sale\Internals\OrderDiscountTable::getDiscountByHash(
 string $hash
);

Method returns discount ID by its hash amount. Static method.

Parameters

ParameterDescriptionVersion
$hashDiscount hash amount.

Example



© «Bitrix24», 2001-2024
Up