How to Manage Mailing Templates in Omnitron?
Last updated
Was this helpful?
Last updated
Was this helpful?
This tutorial provides step-by-step instructions for managing Mailing Templates in Omnitron.
Get access to the Omnitron panel.
Enter your Username and Password, and then click the Sign In button.
Follow the Sales Channels > Content Management sidebar and click the Mailing Templates page.
This page displays mailing templates for management purposes.
To add a new mailing template , click the + New Mailing Templates button. Complete the form by filling in the following fields:
Name: Select one of the default email templates, e.g., for sending a welcome email upon user registration.
Status: Select whether the template is active or inactive.
Language: Select the language for the mailing template from the options available in Omnitron, aligning with local languages.
Content: Input the email content in HTML format.
Once the relevant fields are completed, click the Save button.
The Dynamic_Cancel_Mail_Template_Url
in the api/v1/dynamic setting
serves to create a custom mail template for order cancellations based on primary keys representing cancellation reasons. It is essential to define the Dynamic_Cancel_Mail_Template_Url
with the CancellationReason primary key as the key and the corresponding template path as the value.
The process follows these rules:
The system checks the cancellation reasons associated with the primary keys of the order items that trigger the email. If a custom template is specified in Dynamic_Cancel_Mail_Template_Url
, that template takes precedence.
In case there is no match within the definitions of Dynamic_Cancel_Mail_Template_Url
, the system retrieves the template information specified in the channel's configuration details under cancel_mail_template_url
.
If, even then, no cancel_mail_template_url is found, the system resorts to reading the template value in the Cancel_Mail_Template_Url
setting.
In scenarios where the Cancellation Reasons for the canceled order items vary, the system selects the template based on the first one specified in Dynamic_Cancel_Mail_Template_Url
.