You are here

function commerce_multicurrency_help in Commerce Multicurrency 7

Implements hook_help().

File

./commerce_multicurrency.module, line 324
Enhancements for the commerce currency support.

Code

function commerce_multicurrency_help($path, $arg) {
  switch ($path) {

    // Main module help for the block module.
    case 'admin/commerce/config/currency/handling':
      $text_1 = t('There are two fundamental different ways of how to handle multiple currencies:');
      $list_item_1 = t('Use a conversion to get the appropriate amount for a currency.');
      $list_item_2 = t('Use a dedicated price field for each currency.');
      $text_2 = t('While the <a href="!conversion_settings_page_url">conversion settings page</a> of this modules help you to manage  your conversion this settings are dedicated to the second approach. If you enable the dedicated currency price fields you\'ll also get a new rule to set the appropriate currency price on the rules event "Calculating the sell price of a product"', array(
        '!conversion_settings_page_url' => url('admin/commerce/config/currency/conversion'),
      ));
      return '<p>' . $text_1 . '<ul><li>' . $list_item_1 . '</li><li>' . $list_item_2 . '</li></ul>' . $text_2 . '</p>';
  }
}