Hi. How can we help?

Customizing emails, invoices, quotes and packing slips

If you have a Professional subscription you can customize the content of your emails, invoices, quotes and packing slips. If you have a Basic or Advanced subscription, you cannot modify the content templates unless you upgrade.

To use the Content Editor you should be familiar with HTML and CSS. Lightspeed does not offer support for the Content Editor.

Note: We recently added an enhancement (in October 2016) whereby the original, or parent, invoice number is now displayed on credit invoices. if you modified your invoice template before this enhancement was introduced, you will need to adjust the HTML code in the invoice template to support displaying the original invoice number. For more information, see Adding the original invoice number to credit invoices.
Content_1.png

To customize the content

On the left menu of the Back Office click Design > Content templates and choose the template you want to work with. In this example the invoice template is shown.

Content_3.png

The right menu displays the codes that can be used in a code fragment. For example, if you click Country below the Store list, {{ shop.region }} is inserted in the code, at the current cursor location.

When you click Save at the bottom right of the screen, your changes are implemented immediately.

To preview your changes

Small code errors can cause significant problems. To avoid them, preview your changes, by clicking Preview template at the right at the bottom of the screen.

Content_4.png

Variables

 Array
(
    [shop] => Array
        (
            [name] => 
            [logo] => 
            [url] => 
            [domain] => 
            [email] => 
            [phone] => 
            [fax] => 
            [street] => 
            [postcode] => 
            [city] => 
            [region] => 
            [country] => 
            [accountholder] => 
            [bankaccount] => 
            [bankcode] => 
            [bankname] => 
            [iban] => 
            [swift] => 
            [paymentreference] => 
            [cocnumber] => 
            [coccity] => 
            [vatnumber] => 
            [nationalid] => 
            [companyowner] => 
        )

    [theme] => Array
        (
            [color_1] => 
            [color_2] => 
            [color_3] => 
            [color_4] => 
        )

    [order] => Array
        (
            [id] => 
            [number] => 
            [date] => 
            [comment] => 
            [memo] => 
            [products] => Array
                (
                    [0] => Array
                        (
                            [id] =>
                            [articlecode] => 
                            [name] => 
                            [variant] => 
                            [sku] => 
                            [ean] => 
                            [hs] => 
                            [vat] => 
                            [unitprice] => 
                            [unitprice_ex] => 
                            [discount] => 
                            [quantity] => 
                            [subtotal] => 
                        )

                    [1] => Array
                        (
                            [id] => 
                            [articlecode] => 
                            [name] => 
                            [variant] => 
                            [sku] => 
                            [ean] => 
                            [hs] => 
                            [vat] => 
                            [unitprice] => 
                            [unitprice_ex] => 
                            [discount] => 
                            [quantity] => 
                            [subtotal] => 
                        )

                    [_shippingcosts_] => Array
                        (
                            [id] => 
                            [articlecode] => 
                            [name] => 
                            [variant] => 
                            [sku] => 
                            [ean] => 
                            [hs] => 
                            [vat] => 
                            [unitprice] => 
                            [unitprice_ex] => 
                            [discount] => 
                            [quantity] => 
                            [subtotal] => 
                        )

                )

            [discount] => 
            [is_vatshifted] => 1
        )

    [invoice] => Array
        (
            [id] => 
            [number] => 
            [date] => 
            [price] => 
            [price_ex] => 
            [taxes] => 
            [barcode] => 
            [deliverytime] => 
            [deliverydate] => 
            [legalnote] => 
            [note] => 
            [footer] => 
            [is_credit] => 
        )

    [payment] => Array
        (
            [method] =>
        )

    [customer] => Array
        (
            [id] => 334
            [firstname] => 
            [middlename] => 
            [lastname] => 
            [phone] => 
            [mobile] => 
            [email] => 
            [nationalid] => 
            [is_company] => 
            [company] => 
            [cocnumber] => 
            [vatnumber] => 
        )

    [billingaddress] => Array
        (
            [company] => 
            [name] => 
            [address] => 
            [zipcode] => 
            [city] => 
            [region] => 
            [country] => 
        )

    [shippingaddress] => Array
        (
            [company] => 
            [name] => 
            [address] => 
            [zipcode] => 
            [city] => 
            [region] => 
            [country] => 
        )

    [language] => Array
        (
            [language] => 1
        )

    [options] => Array
        (
            [hide_customer_details] => 
        )

) 

Was this article helpful?

1 out of 5 found this helpful