Documentation

DiscountGroupTable

DiscountGroupTable class for handling table with shopping cart discounts associated to user groups.

Class methods

MethodDescription Available from version
changeActiveByDiscountUpdates active status flag for table entries associated with discount code $discount.
deleteByDiscountDeletes list of user groups, associated to discount with code $discount.
getActiveDiscountByGroupsReturns array with active shopping cart discounts according to specified array $groupList.
getDiscountByGroupsReturns array with shopping cart discounts according to specified array $groupList.
getMapReturns list of fields for table with shopping cart discounts associated with user groups.
getTableNameReturns name for table with shopping cart discounts associated with user groups.
updateByDiscountUpdates parameters for user group list according to discount with code $discount.


© «Bitrix24», 2001-2024