confirmation email
- Nidzo
- Phoca Professional
- Posts: 387
- Joined: 07 Nov 2018, 14:55
Re: confirmation email
Do you use SMTP for sending system emails?
-
- Phoca Enthusiast
- Posts: 51
- Joined: 14 Nov 2022, 12:04
Re: confirmation email
Does this mean I have to create the entire email myself from scratch for every order states?
Is there perhaps some example HTML available?
I'm a programmer, I don't trust myself about frontend things, especially when building something with TinyMCE; it might turn out to be ugly, at least not something well-formed by a proper designer
- Jan
- Phoca Hero
- Posts: 48386
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: confirmation email
Hi, it is up to you which content do you want to send to your customers. As default, there is standard text, if you want to have own, just write your text to order status email text.
Just test the sending of emails and if the text and the content (e.g. included order information) does not fit your needs, just set your text.
Jan
Just test the sending of emails and if the text and the content (e.g. included order information) does not fit your needs, just set your text.
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Enthusiast
- Posts: 51
- Joined: 14 Nov 2022, 12:04
Re: confirmation email
Ah, I finally found the standard one.
I also came across this description for the placeholders: https://www.phoca.cz/documentation/115- ... or-vendors
My question is, when I want to build a complex email template, how should I use the list of the ordered products?
I also tried to paste an existing template, which is a bit long, and got this error:
"Save failed with the following error: Data too long for column 'email_text' at row 1."
As far as I can see, the field is a TEXT in the database, which is limited to 65,535 characters, and my template was longer than that. I know I should keep it short, but could you consider changing it to MEDIUMTEXT?
I also came across this description for the placeholders: https://www.phoca.cz/documentation/115- ... or-vendors
My question is, when I want to build a complex email template, how should I use the list of the ordered products?
I also tried to paste an existing template, which is a bit long, and got this error:
"Save failed with the following error: Data too long for column 'email_text' at row 1."
As far as I can see, the field is a TEXT in the database, which is limited to 65,535 characters, and my template was longer than that. I know I should keep it short, but could you consider changing it to MEDIUMTEXT?
- Jan
- Phoca Hero
- Posts: 48386
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: confirmation email
Hi, ordered products are not set in variables as they are displayed per "order" (html, or pdf) where whole order is listed.
The text is standard in Joomla, in fact even for articles, there is no mediumtext. I will do a brainstorming with other develoeprs, but are you sure, you template is OK? Having more than 65,535 characters (even UTF-8 use two) is maybe to much and you can slow down the loading of data when sending email, saving it, etc..
The text is standard in Joomla, in fact even for articles, there is no mediumtext. I will do a brainstorming with other develoeprs, but are you sure, you template is OK? Having more than 65,535 characters (even UTF-8 use two) is maybe to much and you can slow down the loading of data when sending email, saving it, etc..
If you find Phoca extensions useful, please support the project
-
- Phoca Professional
- Posts: 189
- Joined: 12 Feb 2015, 13:30
Re: confirmation email
Maybe using internal css (<style>) with some framework - bootstrap.min has 155836 chars
- Jan
- Phoca Hero
- Posts: 48386
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: confirmation email
Hi, email templates mostly do not use any frameworks like bootstrap, the content is mostly build on tables (which is the safest design for all different email clients)
Jan
Jan
If you find Phoca extensions useful, please support the project