Bitrix Site Manager

CExtra::GetByID

array
CExtra::GetByID(
 int ID
);

The method GetByID returns the discount properties.

Parameters

ParameterDescription
ID Discount ID.

Return Values

Associated array with the following keys.

Key Description
ID Discount ID.
NAME Name of the discount.
PERCENTAGE Percentage value of the discount. The value can be both positive and negative number.