You are here

function uc_ajax_admin_help in Ubercart 7.3

Same name and namespace in other branches
  1. 8.4 uc_ajax_admin/uc_ajax_admin.module \uc_ajax_admin_help()

Implements hook_help().

File

uc_ajax_admin/uc_ajax_admin.module, line 11
Configures Ajax behaviours on the Ubercart checkout page.

Code

function uc_ajax_admin_help($path, $arg) {
  if ($path == 'admin/store/settings/checkout/ajax') {
    $output = '<p>' . t('Use this page to configure Ajax behaviors on the form. The table below associates triggering form input elements with panes. The contents of each associated pane will be refreshed whenever the customer clicks on or changes the triggering form element. For example, you can cause the available payment methods to be refreshed when the customer changes their billing zone.') . '</p>';
    $output .= '<p>' . t("Note that the triggering elements you can choose are listed based on the form as it would be displayed to you right now. For example, if none of your shipping methods apply to the current cart contents, you won't see the shipping quote selection element. If you don't see the form element you wish to use as a trigger, try adding some products to the shopping cart or otherwise simulating the customer experience, and verify that those elements are present on the form itself.") . '</p>';
    return $output;
  }
}