You are here

constant FILTER_TYPE_PRODUCTS in Ubercart Discounts (Alternative) 6.2

5 uses of FILTER_TYPE_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_object in uc_discounts/uc_discounts.module
Returns product_ids for discount object. Note: this function correctly returns all products for term-based discounts.
uc_discounts_form_submit in uc_discounts/uc_discounts.admin.inc
Submit handler for uc_discounts_form().
_uc_discounts_product_filter_form in uc_discounts/uc_discounts.admin.inc
Helper function that creates a series of dropdowns for selecting a product via product_id, sku, class, term, or author

File

uc_discounts/uc_discounts.module, line 23

Code

define("FILTER_TYPE_PRODUCTS", 1);