You are here

Functions in Ubercart Discounts (Alternative) 7.2

Primary tabs

Namesort descending Location Description Direct uses Strings
uc_discounts_apply uc_discounts/uc_discounts.module Applies the discounts to an order by creating the necessary line items. 2
uc_discounts_authors_delete uc_discounts/uc_discounts.module Deletes all uc_discounts_authors rows for a discount. 1
uc_discounts_ca_condition uc_discounts/uc_discounts.ca.inc Implements hook_ca_condition().
uc_discounts_checkout_pane_ajax_callback uc_discounts/uc_discounts.module AJAX callback for checkouut pane button submit. 1
uc_discounts_classes_delete uc_discounts/uc_discounts.module Deletes all uc_discounts_classes rows for a discount. 1
uc_discounts_codes_delete uc_discounts/uc_discounts.module Deletes all dicsount codes associated with a discount ID. 1
uc_discounts_codes_to_array uc_discounts/uc_discounts.module Converts a newline separated code string to an array. 3
uc_discounts_codes_to_str uc_discounts/uc_discounts.module Converts an array of codes to a newline separated code string. 3
uc_discounts_condition_discount_applied uc_discounts/uc_discounts.ca.inc Determines if a discounts has been applied. 1
uc_discounts_condition_discount_applied_condition uc_discounts/uc_discounts.rules.inc Checks if a particluar discount id has been applied on an order.
uc_discounts_condition_discount_applied_form uc_discounts/uc_discounts.ca.inc
uc_discounts_condition_total uc_discounts/uc_discounts.ca.inc Check the current order balance minus any discounts. 1
uc_discounts_condition_total_after_discounts uc_discounts/uc_discounts.rules.inc Check the current order balance minus any discounts.
uc_discounts_condition_total_form uc_discounts/uc_discounts.ca.inc
uc_discounts_delete_all uc_discounts/uc_discounts.module Deletes discounts and all dependencies. 1
uc_discounts_discount_amount_formatted uc_discounts/uc_discounts.module Format a discount amount as percentage or with currency symbol. 1
uc_discounts_discount_id_options uc_discounts/uc_discounts.rules.inc Option list callback for discount ids. 1
uc_discounts_discount_type_name uc_discounts/uc_discounts.module Get a discount type name using discount type constant. 2
uc_discounts_discount_type_options uc_discounts/uc_discounts.module Returns an options list array of discount types with descriptions. 2
uc_discounts_form_uc_cart_view_form_alter uc_discounts/uc_discounts.module Implements hook_form_FORM_ID_alter().
uc_discounts_get_author_ids_for_discount_id uc_discounts/uc_discounts.module Get all Author IDs used by discount ID. 3
uc_discounts_get_classes_for_discount_id uc_discounts/uc_discounts.module Get all Product Class names used by discount ID. 3
uc_discounts_get_codeless_discounts_for_product uc_discounts/uc_discounts.module Returns all codeless discounts that apply to a product. 1
uc_discounts_get_codeless_discounts_for_product_and_quantity uc_discounts/uc_discounts.module Returns codeless discounts that apply to product with specified quantity. 2
uc_discounts_get_codes_for_discount_id uc_discounts/uc_discounts.module Returns all codes associated with a discount ID. 3
uc_discounts_get_codes_for_order uc_discounts/uc_discounts.module Returns discount order codes used by order ID. 1
uc_discounts_get_discounted_price_for_product uc_discounts/uc_discounts.module Helper function that gets the codeless discounted price of a product. 2
uc_discounts_get_discounts_for_order uc_discounts/uc_discounts.module Returns discounts for order. 10
uc_discounts_get_discount_amount_for_order uc_discounts/uc_discounts.module Get total discount amount for an order. 2
uc_discounts_get_order_discount_line_items uc_discounts/uc_discounts.module Returns existing discounts line items for order. 1
uc_discounts_get_product_ids_for_discount uc_discounts/uc_discounts.module Returns product IDs to which a discount applies. 2
uc_discounts_get_product_ids_for_discount_id uc_discounts/uc_discounts.module Returns product IDs to which a discount ID applies. 3
uc_discounts_get_role_ids_for_discount_id uc_discounts/uc_discounts.module Get all role IDs used by discount ID. 2
uc_discounts_get_skus_for_discount_id uc_discounts/uc_discounts.module Get all product SKUs to which a discount ID applies. 3
uc_discounts_get_term_ids_for_discount_id uc_discounts/uc_discounts.module Return all term IDs used by a dicsount ID. 3
uc_discounts_init uc_discounts/uc_discounts.module Implements hook_init().
uc_discounts_install uc_discounts/uc_discounts.install Implements hook_install().
uc_discounts_load uc_discounts/uc_discounts.module Load discount by discount ID. 4
uc_discounts_menu uc_discounts/uc_discounts.module Implements hook_menu().
uc_discounts_order_codes_delete uc_discounts/uc_discounts.module Deletes all uc_discounts_order_codes rows for an order. 1
uc_discounts_permission uc_discounts/uc_discounts.module Implements hook_permission().
uc_discounts_products_delete uc_discounts/uc_discounts.module Deletes all uc_discounts_products rows for a discount. 1
uc_discounts_qualifying_type_name uc_discounts/uc_discounts.module Get the options 'type' name using option ID. 2
uc_discounts_qualifying_type_options uc_discounts/uc_discounts.module Returns options array of qualifying types with descriptions. 2
uc_discounts_roles_delete uc_discounts/uc_discounts.module Deletes all uc_discounts_roles rows for a discount. 1
uc_discounts_rules_condition_info uc_discounts/uc_discounts.rules.inc Implements hook_rules_condition_info().
uc_discounts_schema uc_discounts/uc_discounts.install Implements hook_schema().
uc_discounts_skus_delete uc_discounts/uc_discounts.module Deletes all uc_discounts_skus rows for a discount. 1
uc_discounts_terms_delete uc_discounts/uc_discounts.module Deletes all uc_discounts_terms rows for a discount. 1
uc_discounts_theme uc_discounts/uc_discounts.module Implements hook_theme().

Pages

Other projects