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
Parameter | Description | Version |
---|---|---|
$groupList | Array with user groups. | |
$filter | Array with additional filtration data. |
Example
© «Bitrix24», 2001-2024
Up