Editing email templates for prestashop

Editing email templates for prestashop

I recently solved for one client how to modify the bankwire e-mail template, in_transit (shipment on the way) and more .. I think it might be useful for someone, but I have it checked only for the version of prestashop 1.6 .

How to edit templates in prestashop?

I needed to get a detailed order in other templates.

By default, you can copy the html code to another email template, but the details will not be copied to the email. That was my problem.

How did I fix it?

Changes you can use in a template

Download this order OrderHistory.php file to enable you to use any customized email template to create an order detail.

Upload this file here:

PRESTASHOP_HOME / override / classes / order / here

Here are the variables you can use

{lastname}

{firstname}

{id_order}

{order_name}

{delivery_block_txt}

{invoice_block_txt}

{delivery_block_html}

{invoice_block_html}

{delivery_company}

{delivery_firstname}

{delivery_lastname}

{delivery_address1}

{delivery_address2}

{delivery_city}

{delivery_postal_code}

{delivery_country}

{delivery_state}

{delivery_phone}

{delivery_other}

{invoice_company}

{invoice_vat_number}

{invoice_firstname}

{invoice_lastname}

{invoice_address2}

{invoice_address1}

{invoice_city}

{invoice_postal_code}

{invoice_country}

{invoice_state}

{invoice_phone}

{invoice_other}

{order_name}

{date} {carrier}

{payment}

{products}

{total_paid}

{total_products}

{total_discounts}

{total_shipping}

{total_wrapping}

{total_tax_paid}

I hope this article will also help

All comments

Leave a Reply