There are certain situations where e-mail notifications are being sent, like for example the order summary/confirmation for the customer or the information that the status of the order has changed for the shop administrator. You can easily edit the e-mail templates in DJ-Catalog2 to fit them to your online store policy and look and feel.
Template types
Each template has its own specific purpose and because the component identifies templates by their "Type" attribute, it's important to mention that types should not be modified and should be unique.
Below you will find a brief description of each of the template:
- Order - customer notification - the confirmation for the customer that the order has been made
type: order
- Order - admin notification - the confirmation for the administrator that the order has been made
type: order_admin
- Order status - customer notification - sent to the customer whenever the status of the order has changed
type: order_status
- Order status changed - admin notification - sent to the administrator whenever the status of the order has changed
type: order_status_admin
- Query - customer notification - the summary for the customer about inquiry
type: query
- Query admin - admin notification - the summary for the administrator about inquiry
type: query_admin
- New subscription - customer notification - information sent to the customer that the subscription has been activated
type: subscription_new
- Expiring subscription - customer notification - information sent to the customer that the subscription is about to expire*
type: subscription_expire_soon
- Expired subscription - customer notification - information sent to the customer that the subscription has expired*
type: subscription_expired
*) Those notifications will only be sent if you request a cronjob for the following URL: your-site.com/index.php?option=com_djcatalog2&task=cronjobs
for example every 5 minutes:
*/5 * * * * wget -O /dev/null "https://your-site.com/index.php?option=com_djcatalog2&task=cronjobs"
Template details
Each template, apart from its name and type, has also a Subject (of the e-mail) notification, Message body, and a set of files (attachments) that will be always added to every notification (e.g. if you would like to deliver a PDF file with Terms of Service to every order confirmation).
Templates allow to include short-codes (tags) which will later be replaced with appropriate content. In this example phrase [[recipient_name]] will be replaced with the customer's name as long as it was provided in the checkout form. The list of available short-codes is displayed on the right and is different for every template.
Messages log
Every e-mail notification based on the template that is sent is also stored in the database, so that administrator is able to access the whole messages' history. The administrator may check whether some specific message has been properly sent to the recipient or even delivered (*as long recipient allows to display images in the e-mail message)