You are here

function commerce_product_pricing_ui_help in Commerce Core 7

Implements hook_help().

File

modules/product_pricing/commerce_product_pricing_ui.module, line 94
Exposes a UI for managing product pricing rules and pre-calculation settings.

Code

function commerce_product_pricing_ui_help($path, $arg) {
  switch ($path) {
    case 'admin/commerce/config/product-pricing':

      // TODO: Add a note regarding the restrictions that apply for price pre-
      // calculation based on the current pre-calculation method setting.
      return t('Prior to purchase, product sell prices are calculated using the rule configurations listed below. Pricing rules can be used for things like discounts, price lists, currency conversions, and tax application depending on the Rules elements defined by your enabled modules. To apply the enabled pricing rules on product display, you must ensure the display formatter settings for your product price fields are configured to display the <em>Calculated sell price for the current user</em>.');
    case 'admin/commerce/config/product-pricing/rules/add':
      return t('After setting the label for this rule configuration, you will be redirected to its empty edit page. There you should add the conditions that must be met for the pricing rule to apply. You can then use actions that alter the unit price of the product line item passed to the rule to affect the sell price customers will see prior to purchase.');
  }
}