You are here

function commerce_discount_free_shipping_strategies in Commerce Discount 7

Returns a list of discount strategies for free shipping offers.

2 string references to 'commerce_discount_free_shipping_strategies'
commerce_discount_install_helper in ./commerce_discount.install
Helper function to define and create the required fields & instances.
commerce_discount_update_7108 in ./commerce_discount.install
Add a field to support the concept of "Free or reduced shipping" offers.

File

./commerce_discount.module, line 1032
Defines the discount and discount offer entities, bundles and functionality.

Code

function commerce_discount_free_shipping_strategies() {
  return array(
    'only_selected' => t('Only discount the selected shipping service.'),
    'discount_all' => t('Discount all other shipping services by the same amount as the selected shipping service.'),
  );
}