Post by fadichmn » Sun Dec 10, 2017 8:04 am

Hi,

I am using HTML code inside this file:
catalog/view/theme/default/template/mail/register.twig

But the email that are sent to the user is getting the whole raw HTML code.
Is there any trick here or where do i decode the html?

Newbie

Posts

Joined
Thu Jun 01, 2017 7:47 am

Post by straightlight » Sun Dec 10, 2017 8:36 am

No OC version posted. As for the emails, the default installation of Opencart sends text emails for customer registration templates. However, since there are other features in the platform also using text emails, if you want your store to send HTML emails entirely, see this extension: https://www.opencart.com/index.php?rout ... n_id=21842

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by fadichmn » Sun Dec 10, 2017 10:07 pm

straightlight wrote:
Sun Dec 10, 2017 8:36 am
No OC version posted. As for the emails.......
How is it possible then that the /catalog/controller/mail/order.php file at line line 364 is using some html decoding?
You can also see the order_add.twig is using html code

Newbie

Posts

Joined
Thu Jun 01, 2017 7:47 am

Post by straightlight » Sun Dec 10, 2017 11:10 pm

Yet, again, the OC version was not posted which is not possible to answer your last question. Although, there are nowhere to be said nor indicated on my last response that the admin orders does not send HTML emails neither leaving ... so many dots on it but rather indicated that various features are currently sending text and HTML emails throughout Opencart.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: No registered users and 353 guests