The dynamic content of the email notification (if exists) is added in an email below the text of the notification (default location).

541-dynamic-content-default.png

Alternatively, it may be inserted in another location within the notification via the variable %dynamic_message%.

541-dynamic-content-on.png

To change the dynamic content of a notification:

1. Open the email notifications list in your store Admin area and proceed to the notification details page as described in Editing the Texts of Email Notifications.

2. Locate the Dynamic message field and click the Edit button opposite it.

This opens a dynamic message editor in a new tab.

540-dymamic-content.png

In case there is no dynamic content embedded, you will see the following message:


The dynamic message is empty for this notification. If you need to use specific TWIG code, use the template tree on the left-hand side of the screen to choose the TWIG file you require. For plain text, we recommend using the WYSIWYG editor on the Edit notification page.


2. Click either on a file path to the left or double-click on a highlighted content to the right.

540-dynamic-click-to-edit.png

This opens a new tab with a twig file code.

540-dynamic-content-twig.png

3. Edit the twig code the way you need it.

4. Click Save changes.

Did this answer your question?