You are here

Functions in Commerce Discount 7

Primary tabs

Namesort descending Location Description Direct uses Strings
commerce_discount_inline_conditions_info ./commerce_discount.inline_conditions.inc Implements hook_inline_conditions_info().
commerce_discount_install ./commerce_discount.install Implements hook_install().
commerce_discount_install_helper ./commerce_discount.install Helper function to define and create the required fields & instances. 3
commerce_discount_line_item_added_by_discount ./commerce_discount.rules.inc Condition callback: looks to see if the line item was added by a discount.
commerce_discount_line_item_compatibility_check ./commerce_discount.rules.inc Rules callback: executes the "Check discount compatibility at the line item level" condition. 1
commerce_discount_line_item_title ./commerce_discount.module Determine the discount's line item title. 1
commerce_discount_offer_type ./commerce_discount.module Loads the data for a specific discount offer type.
commerce_discount_offer_types ./commerce_discount.module Return an array of all defined discount offer types. 6
commerce_discount_offer_type_get_name ./commerce_discount.module Returns the human readable name of any or all discount offer types.
commerce_discount_overview_form includes/commerce_discount.admin.inc Builds the entity overview form. 1
commerce_discount_percentage ./commerce_discount.rules.inc Rules action: Apply percentage discount. 1
commerce_discount_permission ./commerce_discount.module Implements hook_permission().
commerce_discount_product_line_item_title ./commerce_discount.module Determine the product_discount's line item title. 1
commerce_discount_query_entityreference_alter ./commerce_discount.module Implements hook_query_TAG_alter().
commerce_discount_remove_discount_components ./commerce_discount.module Remove discount components from a given price and recalculate the total. 2
commerce_discount_remove_discount_components_on_products ./commerce_discount.rules.inc Rules action: Remove discount components on product line items. 1
commerce_discount_requirements ./commerce_discount.install Implements hook_requirements().
commerce_discount_rules_action_info ./commerce_discount.rules.inc Implements hook_rules_action_info().
commerce_discount_rules_condition_info ./commerce_discount.rules.inc Implements hook_rules_condition_info().
commerce_discount_rules_event_info ./commerce_discount.rules.inc Implements hook_rules_event_info().
commerce_discount_schema ./commerce_discount.install Implements hook_schema().
commerce_discount_settings includes/commerce_discount.admin.inc Builds the discount settings form. 1
commerce_discount_set_existing_line_item_price ./commerce_discount.rules.inc Updates the unit price of the discount line item matching the named discount. 2
commerce_discount_set_price_component ./commerce_discount.rules.inc Sets a discount price component to the provided line item. 1
commerce_discount_shipping_service ./commerce_discount.rules.inc Rules action: Apply shipping discount. 2
commerce_discount_shipping_services ./commerce_discount.module Discount the shipping services for a given order. 1
commerce_discount_shipping_test_commerce_shipping_method_info tests/commerce_discount_shipping_test/commerce_discount_shipping_test.module Implements hook_commerce_shipping_method_info().
commerce_discount_shipping_test_commerce_shipping_service_info tests/commerce_discount_shipping_test/commerce_discount_shipping_test.module Implements hook_commerce_shipping_service_info().
commerce_discount_test_shipping_service_rate tests/commerce_discount_shipping_test/commerce_discount_shipping_test.module Shipping service callback. 1
commerce_discount_type ./commerce_discount.module Loads the data for a specific discount type. 1 2
commerce_discount_types ./commerce_discount.module Return an array of all defined discount types. 7
commerce_discount_type_get_name ./commerce_discount.module Returns the human readable name of any or all discount types.
commerce_discount_uninstall ./commerce_discount.install Implements hook_uninstall().
commerce_discount_update_7101 ./commerce_discount.install Update the widget type of field commerce_discount_offer.
commerce_discount_update_7102 ./commerce_discount.install Discount component price names.
commerce_discount_update_7103 ./commerce_discount.install Update properties of product_discount bundle.
commerce_discount_update_7104 ./commerce_discount.install Changes to commerce_discount schema.
commerce_discount_update_7105 ./commerce_discount.install Add a sort order column to the Commerce Discount table.
commerce_discount_update_7106 ./commerce_discount.install Add discount compatibility fields to all discount types.
commerce_discount_update_7107 ./commerce_discount.install Add fields to support a new "Shipping service upgrade" offer type.
commerce_discount_update_7108 ./commerce_discount.install Add a field to support the concept of "Free or reduced shipping" offers.
commerce_discount_update_7109 ./commerce_discount.install Check for wrong discount values, before form validation was introduced.
commerce_discount_update_7110 ./commerce_discount.install Enable and update usage and date sub-modules into discount core.
commerce_discount_usage_get_usage ./commerce_discount.module Get usage of a discount, excluding a certain order id. 2
commerce_discount_usage_get_usage_by_mail ./commerce_discount.module Get usage of a discount for a user, excluding a certain order id. 1
commerce_discount_usage_max_usage ./commerce_discount.rules.inc Rules condition callback: evaluate maximum usage of a discount. 1
commerce_discount_usage_max_usage_per_person ./commerce_discount.rules.inc Rules condition callback: evaluate maximum usage per-person of a discount. 1
commerce_discount_usage_order_discounts ./commerce_discount.module Loads all discounts connected to an order. 1
commerce_discount_usage_record_order_usage ./commerce_discount.module Record order usage. 2
commerce_discount_usage_reset_order_usage ./commerce_discount.module Reset usage statistics for an entire order. 2

Pages

Other projects