You are here

function uc_coupon_workflow_apply_help in Ubercart Discount Coupons 7.3

Same name and namespace in other branches
  1. 7.2 uc_coupon_workflow/uc_coupon_workflow.rules.inc \uc_coupon_workflow_apply_help()

File

uc_coupon_workflow/uc_coupon_workflow.rules.inc, line 282
Rules integration for uc_coupon_workflow

Code

function uc_coupon_workflow_apply_help() {
  return '<p>' . t('This action can be used in two ways: to apply a coupon normally in response to a discrete event
            (for example, when a particular user logs in), or to apply an automatic discount in response to the
            "%event" event, which occurs every time the current cart contents are updated (for example, to
            apply a discount if a particular combination of products is ordered).', array(
    '%event' => t('Check for automatic discounts'),
  )) . '</p><p>' . t('Automatic discounts are treated differently than normal coupons: they are listed in separate panes
             on the checkout and cart pages, and they may not be removed by the customer. Unlike normal coupons,
             they are automatically removed if the rule\'s conditions are not met.') . '</p><p>' . t('Note that a coupon specified in this action will only apply to an order if its restrictions
             (as specified on the coupon add/edit page) are met. That is, both the conditions of this rule
             and the coupon\'s restrictions must be satisfied.  Note also that normal coupons always take
             precedence over automatic discounts, so if a customer enters a code for a coupon which has not
             been configured combine with a particular automatic discount, that automatic discount will
             be pre-empted.') . '</p>';
}