Configure product alerts email templates

Next, configure, add, or modify the email template for your price alert. You may want to edit your price alert configurations after creating additional templates.

For more detailed information about using email messaging, see Message Templates in the Admin Systems Guide.

  1. On the Admin sidebar, go to Marketing > Communications > Email Templates.

  2. Click Add New Template.

  3. Under Load default template, choose the Template that you want to customize.

    You might choose the alert template included with your theme. Or you can select the Price Alert or Stock Alert templates under Magento_PriceAlert.

  4. Click Load Template.

  5. Enter a Template Name.

    You can select this name in the Price Alerts configuration.

  6. Read through the existing content and make changes as needed for the following:

    FieldDescription
    Template SubjectThis text is displayed in the subject line of an email.
    Template ContentThis text is displayed in the full content of the sent email.
  7. To add generated information from Commerce data, use the Insert Variable option to use a list of available variables.

  8. Click Save Template.

Product Alert Run Settings

These settings allow you to select how often Commerce checks for changes that require alerts to be sent. You can also select the recipient, sender, and template for emails that are sent if the sending of alerts fails.

Product Alert Run Settings

  1. On the Admin sidebar, go to Stores > Settings > Configuration.

  2. In the left panel, expand Catalog and choose Catalog underneath.

  3. Expand Expansion selector the Product Alerts Run Settings section.

  4. To determine how often product alerts are sent, set Frequency to one of the following:

    • Daily
    • Weekly
    • Monthly
  5. To determine the time of day product alerts are sent, set Start Time to the hour, minute, and second.

    NOTE
    Product alerts are sent by the “product_alert” consumer.
  6. For Error Email Recipient, enter the email of the person to be contacted if an error occurs.

  7. For the Error Email Sender, select the store identity that appears as the sender of the error notification.

  8. Set Error Email Template to the transactional email template to be used for the error notification.

  9. When complete, click Save Config.

Previous pageConfigure distance priority
Next pageStock message scenarios