Documentation

OrderRulesTable

OrderRulesTable class for handling table with discounts and rules applied to order entities.

Class methods

MethodDescription Available from version
clearBasketSaleDiscountClears shopping cart discounts.
clearByBasketItemClears rules and discounts applied to a shopping cart item with code $basket.
clearByOrderClears shopping cart discount rules, applied for order with code $order.
getMapReturns list of fields for table with rules and discounts applied to order entities.
getTableNameReturns name for table with rules and discounts applied to order entities.
validateEntityValueReturns validator for the field ENTITY_VALUE (entity value).
validateModuleIdReturns validator for the field MODULE_ID (module ID).


© «Bitrix24», 2001-2024
Up