Cs Cart 4.3.3 And Emails

Hello guys.

Since I took over the management of an e-shop which runs 4.3.3 version and it cannot be updated due to core code modifications from the previous developer, I cannot use the email template editor that exists in newer versions of cs cart.

What I want to do is to create an e-mail "template" for all my emails that are being sent to customers and to the administrator.

I want the template to be a table for example that takes some data as:

Sender, Receiver, Subject, Date and time. And then, some text.

Which is the best way to accomplish this?

Change the tpl files for every mail and also the translations?

Or am I missing something?

I am sorry for the loooong message..

Thank you very much in advance!

Hm.. Noone?

Before email template editor noone wanted to change their templates?

Which way is the "correct" one?

Hello!

Do you want to have the ability to edit e-mails in the admin panel? Then it is not so easy.

No, I just want to change the email that are being sent out.

I don't care if it has to be done via .tpl files.

I am just asking the "best" way to do such a thing..

Change the tpl files for every mail and also the translations?

That is your only option.

Edit: Cart Power has an addon for changing email templates.

The order email templates are all based on the invoice.tpl in either the frontend or backend mail/templates/orders directories.

Thank you The tool.

The order email templates are all based on the invoice.tpl in either the frontend or backend mail/templates/orders directories.

Can you please tell me what is the difference between backend and frontend invoice.tpl?

Admin emails are executed from the backend and frontend emails are executed from the customer/store. Generally the backend and frontend templates are the same.

Admin emails are executed from the backend and frontend emails are executed from the customer/store. Generally the backend and frontend templates are the same.

So, let's say I wamt to change the invoice for both backend and frontend. I have to edit both invoice.tpl files?

Yes

Ok, thank you!

Just upgraded to the new e-mail template editor and it has seriously stuffed up the emails that get sent to customers.

I would like to just send the invoice in the body of the email instead of an attachment like what used to happen before the upgrade.

How do I code this in as the new templates have really thrown me.

I only use 3 statuses, received for when the initial order is placed, processed for when payment is received and finally completed once the item has been shipped. The last status includes an updated invoice that has tracking info / links on it.

Any info would be much appreciated as my emails look very unprofessional at present.

Have figured it all out now :grin:

Have figured it all out now :grin:

Please share the solution

If you open up the email template and have only the following code in the box under the subject line it will send the invoice as an email.


{{ include_doc("order.invoice", order_info.order_id) }}

You can change the "order.invoice" to "order.details" also but I was having issues with the cart software grabbing the wrong item images hence why I wanted to change to the invoice option.

I have tweaked my customer emails now so that they receive an email with the company letterhead that states the current order status and what the next step should be along with the order invoice as an attachment.

For the admin notifications I just get a copy of the invoice as that is all I need to see for order picking & addressing the packages.

Thank you