KonaKart Logo Documentation
Search
Modifying the Email Templates

Modifying the Email Templates

If configured to do so, KonaKart will send out emails after registration, to confirm orders and to distribute new passwords. The emails are generated using Velocity templates which can be found in the /WEB-INF/classes directory of both the App and the Admin App. The current templates are all files following the pattern *.vm. Note that the file name must end with an underscore followed by a two letter country code (i.e. OrderConfirmation_en.vm).

When the state of an order is changed through the Admin App, an eMail may be sent to the customer based on the template called OrderStatusChange_xx.vm where xx is the two letter country code. A different template may be defined for each order state where the naming convention is OrderStatusChange_stateId_xx.vm . For example if the order changes state from state 1 to state 2, it will use the template called OrderStatusChange_2_xx.vm if it exists. If it doesn't exist, KonaKart will use the default OrderStatusChange_xx.vm template.