You are here

function uc_stock_help in Ubercart 7.3

Same name and namespace in other branches
  1. 8.4 uc_stock/uc_stock.module \uc_stock_help()
  2. 5 uc_stock/uc_stock.module \uc_stock_help()
  3. 6.2 uc_stock/uc_stock.module \uc_stock_help()

Implements hook_help().

File

uc_stock/uc_stock.module, line 17
Allow ubercart products to have stock levels associated with their SKU

Code

function uc_stock_help($path, $arg) {
  switch ($path) {
    case 'node/%/edit/stock':
      return '<p>' . t('To keep track of stock for a particular product SKU, make sure it is marked as active and enter a stock value. When the stock level drops below the threshold value, you can be notified based on your stock settings.') . '</p>';
    case 'admin/store/reports/stock':
    case 'admin/store/reports/stock/threshold':
      return '<p>' . t('This is the list of product SKUs that are currently active. Stock levels below their threshold have highlighted rows. Toggle the checkbox below to alter which stock levels are shown.') . '</p>';
  }
}