You are here

constant ALL_PRODUCTS in Ubercart Discounts (Alternative) 6.2

4 uses of ALL_PRODUCTS
get_codeless_discounts_for_product_and_quantity in uc_discounts/uc_discounts.module
Returns all codeless discounts for product when specified quantity is purchased.
get_discounts_for_order in uc_discounts/uc_discounts.module
Returns discounts for order. Note: $order->uc_discounts_codes must be set
get_product_ids_for_discount in uc_discounts/uc_discounts.module
Returns product_ids for discount. Note: this function does not check filter_type so a discount with filter_type other than FILTER_TYPE_PRODUCTS will return no values.
uc_discounts_form_submit in uc_discounts/uc_discounts.admin.inc
Submit handler for uc_discounts_form().

File

uc_discounts/uc_discounts.module, line 32

Code

define("ALL_PRODUCTS", "-1");