You are here

Functions in Ubercart Discounts (Alternative) 6.2

Primary tabs

Namesort descending Location Description Direct uses Strings
uc_checkout_pane_discounts uc_discounts/uc_discounts.module Discounts checkout pane callback 1
uc_discounts_add_to_cart uc_discounts/uc_discounts.module Implementation of hook_add_to_cart()
uc_discounts_add_to_existing_map_number_value uc_discounts/uc_discounts.module 1
uc_discounts_admin_list uc_discounts/uc_discounts.admin.inc Display a list of discounts. 1
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_cart_pane uc_discounts/uc_discounts.module Implementation of hook_cart_pane().
uc_discounts_cart_pane_output uc_discounts/uc_discounts.module Adds the discounts to the cart page as line items via javascript 1
uc_discounts_ca_condition uc_discounts/uc_discounts.ca.inc Implementation of hook_ca_condition().
uc_discounts_checkout_pane uc_discounts/uc_discounts.module Implementation of hook_checkout_pane().
uc_discounts_checkout_pane_alter uc_discounts/uc_discounts.module Implementation of hook_checkout_pane_alter() Get discounted price to show up on checkout, & review
uc_discounts_checkout_pane_content uc_discounts/uc_discounts.module 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 uc_discounts_codes rows for a discount. 1
uc_discounts_codes_to_array uc_discounts/uc_discounts.module Returns a string list of codes into an array of codes 4
uc_discounts_codes_to_str uc_discounts/uc_discounts.module Create a codes string from passed codes array. Note: returns "" if passed array is null 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_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_form uc_discounts/uc_discounts.ca.inc
uc_discounts_copy uc_discounts/uc_discounts.admin.inc Copy a discount. 1
uc_discounts_delete uc_discounts/uc_discounts.admin.inc Delete a discount. 1
uc_discounts_delete_all uc_discounts/uc_discounts.module Deletes a uc_discounts row and all dependencies. 1
uc_discounts_delete_submit uc_discounts/uc_discounts.admin.inc Submit handler for uc_discounts_delete().
uc_discounts_form uc_discounts/uc_discounts.admin.inc Create or edit a discount. 1
uc_discounts_form_submit uc_discounts/uc_discounts.admin.inc Submit handler for uc_discounts_form().
uc_discounts_form_uc_cart_checkout_form_alter uc_discounts/uc_discounts.module Implementation of hook_form_FORM_ID_alter() Ensures that javascript for adding discounts is added to checkout, regardless of whether discounts pane is used.
uc_discounts_form_validate uc_discounts/uc_discounts.admin.inc Validate handler for uc_discounts_form().
uc_discounts_generate_codes uc_discounts/uc_discounts.admin.inc Allows admin to generate a list of unique codes that can be used for things like mail blasts
uc_discounts_generate_codes_form uc_discounts/uc_discounts.admin.inc 1
uc_discounts_generate_codes_form_submit uc_discounts/uc_discounts.admin.inc
uc_discounts_generate_codes_form_validate uc_discounts/uc_discounts.admin.inc
uc_discounts_get_codes_for_order uc_discounts/uc_discounts.module Returns order codes for order. 2
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_discount_amount_for_order uc_discounts/uc_discounts.module Helper function that gets the discount amount for the order 2
uc_discounts_init uc_discounts/uc_discounts.module Implementation of hook_init().
uc_discounts_install uc_discounts/uc_discounts.install Implementation of hook_install().
uc_discounts_js_calculate uc_discounts/uc_discounts.module AJAX callback for discounts calculation. 1
uc_discounts_line_item uc_discounts/uc_discounts.module Implementation of Ubercart's hook_line_item().
uc_discounts_load uc_discounts/uc_discounts.module Loads a discount 4
uc_discounts_menu uc_discounts/uc_discounts.module Implementation of hook_menu().
uc_discounts_order uc_discounts/uc_discounts.module Implementation of hook_order(). 1
uc_discounts_order_codes_delete uc_discounts/uc_discounts.module Deletes all uc_discounts_order_codes rows for an order. 1
uc_discounts_order_pane uc_discounts/uc_discounts.module Implementation of hook_order_pane
uc_discounts_order_pane_callback uc_discounts/uc_discounts.module Callback from hook_order_pane 1
uc_discounts_perm uc_discounts/uc_discounts.module Implementation of hook_perm().
uc_discounts_products_delete uc_discounts/uc_discounts.module Deletes all uc_discounts_products rows for a discount. 1
uc_discounts_report uc_discounts/uc_discounts.admin.inc Generate report for all discounts. 2
uc_discounts_report_for_discount uc_discounts/uc_discounts.admin.inc Generate report for discount. 1
uc_discounts_roles_delete uc_discounts/uc_discounts.module Deletes all uc_discounts_roles rows for a discount. 1

Pages

Other projects