Login

New to DJ-Extensions?

E-mail templates & messaging

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:

  1. Order - customer notification - the confirmation for the customer that the order has been made
    type: order
  2. Order - admin notification - the confirmation for the administrator that the order has been made
    type: order_admin
  3. Order status - customer notification - sent to the customer whenever the status of the order has changed
    type: order_status
  4. Order status changed - admin notification - sent to the administrator whenever the status of the order has changed
    type: order_status_admin
  5. Query - customer notification - the summary for the customer about inquiry
    type: query
  6. Query admin - admin notification - the summary for the administrator about inquiry
    type: query_admin
  7. New subscription - customer notification - information sent to the customer that the subscription has been activated
    type: subscription_new
  8. Expiring subscription - customer notification - information sent to the customer that the subscription is about to expire*
    type: subscription_expire_soon
  9. Expired subscription - customer notification - information sent to the customer that the subscription has expired*
    type: subscription_expired
  10. Stock available - information sent to the customer that there's an available stock of the product that the customer was interested in
    type:stock_available
  11. Stock Request - Admin notification - sent to the administrator that the customer requested stock refill
    type: stock_request
  12. Abandoned Cart -
    type: cart_abandoned
  13. Rate purchased items -
    type: order_rating
  14. Complete the payment -
    type: order_payment

* 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)

© 2023 DJ-Extensions.com. All rights reserved.