Documentation

getDiscountByGroups

array public static
\Bitrix\Sale\Internals\DiscountGroupTable::getDiscountByGroups(
 array $groupList,
 array $filter = array()
);

Method returns array with shopping cart discounts according to the specified array $groupList. Static method.

Parameters

ParameterDescriptionVersion
$groupListArray with user groups.
$filterArray with additional filtration data.

Example



© «Bitrix24», 2001-2024
Up