Page 3 of 3

Re: confirmation email

Posted: 16 Oct 2023, 23:25
by Nidzo
Do you use SMTP for sending system emails?

Re: confirmation email

Posted: 23 Jan 2024, 16:50
by keep2000
Nidzo wrote: 21 Sep 2023, 15:53 Go to order stasuses. You have several created but you create custom ones. Every order status has email option. You decide what you Phoca Cart will send to customer or shop administrator.
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 :)

Re: confirmation email

Posted: 25 Jan 2024, 00:36
by Jan
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

Re: confirmation email

Posted: 25 Jan 2024, 10:27
by keep2000
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?

Re: confirmation email

Posted: 26 Jan 2024, 17:03
by Jan
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.. :idea:

Re: confirmation email

Posted: 26 Jan 2024, 23:07
by mino182
Maybe using internal css (<style>) with some framework - bootstrap.min has 155836 chars

Re: confirmation email

Posted: 27 Jan 2024, 00:34
by Jan
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