HOW TO style the email invoice layout of K2Store

This is one of the frequently asked questions in the forums. So I am writing a simple documentation to help you customise, change or style the email invoice layout.

In the K2Store, the invoice email layout is handled by the following file:

/components/com_k2store/views/orders/tmpl/orderemail.php

You will have to do a template override to change its layout and style. The override can be done in two simple steps.

1. Copy

/components/com_k2store/views/orders/tmpl/orderemail.php

to

/templates/<YOUR_TEMPLATE>/html/com_k2store/orders

NOTE: <YOUR_TEMPLATE> is the default template of yours.

TIP: If you do not find com_k2store folder inside the html folder of your template, create it.

2. Now edit the copied file (inside your template override folder)

The file comprises both PHP and HTML code. You can move around, add style, add a logo or any elements you wanted.

Now, K2Store will take your override for generating the email invoice.