uc_stock.mail.yml in Ubercart 8.4
uc_stock/config/install/uc_stock.mail.yml
3 string references to 'uc_stock.mail'
- StockSettingsForm::buildForm in uc_stock/
src/ Form/ StockSettingsForm.php - Form constructor.
- StockSettingsForm::getEditableConfigNames in uc_stock/
src/ Form/ StockSettingsForm.php - Gets the configuration names that will be editable.
- _uc_stock_send_mail in uc_stock/
uc_stock.module - Emails administrator regarding any stock level thresholds hit.
File
uc_stock/config/install/uc_stock.mail.ymlView source
- threshold_notification:
- body: '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].'
- subject: '[store:name]: Stock threshold limit reached for [node:title]'