function uc_stock_help in Ubercart 5
Same name and namespace in other branches
- 8.4 uc_stock/uc_stock.module \uc_stock_help()
- 6.2 uc_stock/uc_stock.module \uc_stock_help()
- 7.3 uc_stock/uc_stock.module \uc_stock_help()
Implementation of hook_help().
File
- uc_stock/
uc_stock.module, line 25
Code
function uc_stock_help($section) {
switch ($section) {
case 'node/' . arg(1) . '/edit/stock':
return 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.');
case 'admin/store/reports/stock':
case 'admin/store/reports/stock/threshold':
return 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.');
}
}