E-mail templates & messaging

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



    Please note that a new version of the knowledge base is available at 
    https://dj-extensions.com/knowledge-base


      • Related Articles

      • E-mail tags

        Under each e-mail template, you’ll find listed ONLY tags that can be used within that template. To see the available tags: Open DJ-Classifieds and click Email Templates from the left menu (1) and click any of the templates you want to edit (2) Once ...
      • Find e-mail tags for e-mail templates in DJ-Classifieds easily

      • Email templates

        With email templates, you can easily edit all notifications that are sent to users and administrator.  Email templates are available in DJ-Classifieds control panel. Open the DJ-Classifieds component. Now choose it from the list on the left. See the ...
      • J!Mail Alerts plugin

        This Plugin pulls the Latest Ads from DJ-Classifieds to J!mail alerts. This plugin comes free with the subscription of the extension. You'll find it installed (you may need to enable it manually) after extension's installation. Alternatively, it's ...
      • How user can manage the messages

        When the message is sent to the user he will be notified in two ways about the fact. By the indication in the module and with an email (emails templates can be managed in the component's section). The inbox looks like this:  Section 1: here users can ...