Customizing emails, invoices, quotes and packing slips [NB]

If you have a Professional subscription you can customize the content of your emails, invoices, quotes and packing slips. If you have an Essential 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.

To customize the content

  1. 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.

 

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.

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] => 
        )

) 
Have more questions? Submit a request