Bitrix Site Manager


 string &by, 
 string &order

The method GetList returns a list of discounts. The list returned is sorted by the parameter by in the order order.


by Name of the field by which the list of discounts is to be sorted. Names include the following:
  • NAME - by the name of the discount (default);
  • PERCENTAGE - by the percentage value of the discount.
order Sort order. Can be one of the following:
  • ASC - ascending (default);
  • DESC - descending.

Return Values

An instance of the CDBResult class containing a set of the associated arrays 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.