You are here

function uc_stock_uc_message in Ubercart 7.3

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

Implements hook_uc_message().

File

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

Code

function uc_stock_uc_message() {
  $messages['uc_stock_threshold_notification_subject'] = t('[store:name]: Stock threshold limit reached');
  $messages['uc_stock_threshold_notification_message'] = t('This message has been sent to let you know that the stock level for "[node:title]" with SKU [uc_stock:model] has reached [uc_stock:level]. There may not be enough units in stock to fulfill order #[uc_order:link].');
  return $messages;
}