[System E-Mail Interface] Editing & Live Preview

  • Posts: 27
  • Thank you received: 0
10 years 7 months ago #152899

Hi,

I have upgraded to the Business Edition to be able to use the E-Mail Interface (in System -> E-Mail) and the other nice functions of course. Is there any tutorial to be able to handle with the interface correctly?

For example:
I would like to edit the email which the customer gets after sending an order. There is a part "Additional Information" in this email under which I would like to add some html formatted text (actually it´s an article in Joomla but no matter). And afterwards, I would like to get a preview to see how the email looks later in real (without doing fake purchases steadily until the look is ok). Is that possible in Hikashop or can I do this in an other way?

At the moment, unfortunately I haven´t got what I have expected from this Interface but surely there is a solution. Looking forward to hear from you soon.

Best Regards
ff87

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
10 years 7 months ago #152916

Hi,

If you want to add custom HTML after the "Additional information", you can simply copy/paste your HTML after the line:

<!--{ENDIF:ORDER_SUMMARY}-->
when you edit the email via the menu System>Emails.
To preview the change, the best is to try with the "order notification" email which you can preview by editing an order via the menu Orders and then clicking on the "email" button at the top. That will open a popup with a preview of the email to be send.
The template of the order notification emails are roughly all the same so once you have what you want for this one, you can just copy/paste the changes to the other notifications.

Please Log in or Create an account to join the conversation.

  • Posts: 27
  • Thank you received: 0
10 years 7 months ago #152961

Dear Nicolas,

many thanks but adding the html code doesn´t work because it is ignored later in the email. I also have noticed that the attachments aren´t sent which I upload and save before.

Need some further information, thanks.

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
10 years 7 months ago #152962

Hi,

What do you mean by "it is ignored" ? It doesn't save the email with your custom HTML ?
Or you don't see it in the resulting email ?
Are you sure that you're editing the correct email and not another one ?
If you edit the email again, do you still see that a file has been uploaded for it ?

Please Log in or Create an account to join the conversation.

  • Posts: 27
  • Thank you received: 0
10 years 7 months ago #153022

Hi again,

What do you mean by "it is ignored" ? It doesn't save the email with your custom HTML ?

Exactly.

Or you don't see it in the resulting email ?

Well, I do but the heading "Additional Information" disappears when I add some html code under the line you mentioned.

Are you sure that you're editing the correct email and not another one ?

Yes because see second answer. As my editing influences the email slightly I think it´s the correct email (it´s email no. 5 in system->emails)

If you edit the email again, do you still see that a file has been uploaded for it ?

Yes, the files are uploaded in the interface but later after sending a fake order I can´t see the files in the attachment.

Last edit: 10 years 7 months ago by ff87.

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
10 years 7 months ago #153108

Hi,

1. Then it indicates that the HTML of your email (because of your HTML content) is not valid or something. Please check that you don't have any h1 tags in it for example, and that the HTML is valid with a tool like that:
validator.w3.org/#validate_by_input

2. I did some tests on my end with the file attachment in emails and it's working properly.
If you don't see the files attached to the emails, then it might be because the option "Embed attachments" is turned off in the configuration. Or it could be that your email server doesn't want to send the attachment in the emails (maybe because the attachment file size is too big ?).

Please Log in or Create an account to join the conversation.

  • Posts: 27
  • Thank you received: 0
10 years 7 months ago #153199

Hi again,

whyever, it finally works now but somehow the heading "Additional Information" still disappears eventhough I haven´t modified the code. Here is the part I´m talking about:

<!--{IF:ORDER_SUMMARY}-->
<h1 style="color:#1c8faf !important;font-size:16px;font-weight:bold;border-bottom:1px solid #ddd;padding-top:10px;padding-bottom:10px;">
{TXT:ADDITIONAL_INFORMATION}
</h1>
<p style="border-bottom:1px solid #ddd;padding-bottom:10px;">
{VAR:ORDER_SUMMARY}
</p>
<!--{ENDIF:ORDER_SUMMARY}-->
<b>Hinweis: Die AGB sowie die Widerrufsbelehrung finden Sie als PDF im Anhang dieser E-Mail.</b>
<p>
{TXT:ORDER_END_MESSAGE}
</p>


I just added:
<b>Hinweis: Die AGB sowie die Widerrufsbelehrung finden Sie als PDF im Anhang dieser E-Mail.</b>

The files are sent in the attachment, too. So far so good but why does "Additional Information" disappear, any idea?

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
10 years 6 months ago #153573

Hello,
Can you show me a screenshot of how your email is sent and what is missing so that I can understand what the problem exactly is ?
Thanks.

Please Log in or Create an account to join the conversation.

  • Posts: 159
  • Thank you received: 2
10 years 5 months ago #158838

Hi,
I'm trying to edit my mail layouts in system-emails. There is no preview option which makes it difficult to edit the mails quickly. I don't understand why you give the possibility to use an editor in the order section and nothing to preview in the actual layout section.
Is there a tutorial how to edit and preview them faster than this?
I bought the business version because of the mail edit functions, but it turned out that this is more or less no advantage from taking the files via FTP and edit them.
Thanks for some help
Roger

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
10 years 5 months ago #158851

Hi,

The thing is that it allows you to do a lot more than the preview on the order details page. The tags are dynamic and will change when the emails are sent. You can also add PHP code in there.
Having a WYSIWYG editor for the emails is something we want to add in the future but its not that simple to do.

For now, I can only provide this advice:
If you want an easy preview for the order notification email, you can have two tabs, one with the edition of the email, one with the details page of an order, and click on the "email" button in order to see the preview of the email in a popup when you need to see the result. You can close/open the popup each time you want to see the change.
For the other order emails, most of the template is the same as the order notification email, so you should be able to copy/paste your changes quite rapidly from this one to the others.

Please Log in or Create an account to join the conversation.

Time to create page: 0.088 seconds
Powered by Kunena Forum