Zen Cart Logo
Forums / General Questions / Help with custom email form

Help with custom email form

Views: 499

Results 1 to 4 of 4
14 Feb 2020, 9:35 AM
#1
tractorkd avatar

tractorkd

New Zenner

Join Date:
Mar 2019
Posts:
17
Plugin Contributions:
0

Help with custom email form

Hey all, i want to change the email format that the client receives after an order has been made.
I've found the files in the email folder but after looking at them with an editor they dont look like the ones that are currently being received, so my guess is that the email is created using a custom template. I found where the text is located and i can change that, but i cannot change how it shows in the email (i want it to have a logo and been more easy to read).

Could any of you tell me how i can find where this email template is made? Thank you!

14 Feb 2020, 11:55 AM
#3
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,686
Plugin Contributions:
56

Re: Help with custom email form

tractorkd:

I've found the files in the email folder but after looking at them with an editor they dont look like the ones that are currently being received ...

Can you be more specific? The file email_template_checkout.html shows the format of an HTML email. The content of the text email is created in the same order, but without HTML of course, in the function send_order_email() which is in includes/classes/order.php.

17 Feb 2020, 11:05 AM
#4
tractorkd avatar

tractorkd

New Zenner

Join Date:
Mar 2019
Posts:
17
Plugin Contributions:
0

Re: Help with custom email form

the html email in the template_checkout has an image, different locations for the name etc, but the email that the client receives is different.
i have deleted all the content in the email template and the client still receives the email normally. this makes me think that the email is being created in another place (sites template was custom made). any way i can find where this email is being made? i have tried to search using the dev tool for words in the email but all i can find are defines and the text, nothing that would place the different texts(name order price etc) in a specific location inside the sent email.