SteelCode
steelcode.dev
Preorder, Stock & Price Notifier

Emails and queue

Configure mail templates and run the message worker that delivers automatic notifications.

Emails and queue

Automatic back-in-stock, price-drop, and preorder stock-availability emails are asynchronous. Saving a stock or price change creates work for Shopware Messenger; the email is sent only after a consumer handles that work.

Run a consumer

For local verification, run:

bin/console messenger:consume -vv

In production, run a managed long-lived consumer appropriate to your Shopware deployment. Monitor failed messages and restart the worker after deployment when required by your process.

Mail templates

The plugin installs these technical mail-template types:

  • steel_code_stock_price_notifier.notify_customer
  • steel_code_stock_price_notifier.price_drop_notify_customer
  • steel_code_stock_price_notifier.admin_notify
  • steel_code_stock_price_notifier.preorder_stock_available_partial
  • steel_code_stock_price_notifier.preorder_stock_available_full

Open Settings → Email templates to adapt the installed templates for your brand and available languages. Preserve the template variables and test an actual event after editing.

Retention and scheduled tasks

The plugin registers steel_code_preorder_stock_price_notifier.cleanup_notified_requests, which runs daily and removes notified request records older than 30 days. Ensure Shopware scheduled tasks are running in production.

Useful checks are:

bin/console scheduled-task:list
bin/console scheduled-task:run