Post by theflocha » Tue Jul 30, 2019 4:31 pm

My website: theflocha.com
opencart version 3.0.3.2
【1】
I want to change the register mail template by adding an image inside the register mail file and make it like this --> https://theflocha.com/image/Screenshot% ... 6%20AM.png

I try to add the code to the catalog--> controller --> mail --> register.php
but keep causing an error when people register at my website.
Image Name: testregisterimage.png
Image Folder:public_html
Image Link: https://theflocha.com/testregisterimage.png
I tried code below, but it cannot work.

Code: Select all

$mail->AddEmbeddedImage("testregisterimage.png","public_html","testregisterimage.png");
$mail->Body ='Embedded Image: <img src="cid:public_html">';
The error that appear

Code: Select all

Fatal error: Uncaught Error: Call to undefined method Mail::AddEmbeddedImage() in /home/thefloch/public_html/catalog/controller/mail/register.php:44 Stack trace: #0 /home/thefloch/public_html/vqmod/vqcache/vq2-_home_thefloch_ocartdata_storage_modification_system_engine_action.php(79): ControllerMailRegister->index('account/custome...', Array, 115) #1 /home/thefloch/public_html/system/engine/event.php(62): Action->execute(Object(Registry), Array) #2 /home/thefloch/public_html/vqmod/vqcache/vq2-_home_thefloch_ocartdata_storage_modification_system_engine_loader.php(258): Event->trigger('model/account/c...', Array) #3 /home/thefloch/public_html/system/engine/proxy.php(47): Loader->{closure}(Array, Array) #4 /home/thefloch/ocartdata/storage/modification/catalog/controller/account/register.php(25): Proxy->__call('addCustomer', Array) #5 /home/thefloch/public_html/vqmod/vqcache/vq2-_home_thefloch_ocartdata_storage_modification_system_engine_action.php(79): ControllerAccountRegister->index() #6 /home/thefloch/public_html/catalog/ in /home/thefloch/public_html/catalog/controller/mail/register.php on line 44
Kindly help on this.


【2】
Previously when the client makes the order, the system will auto send that order confirmation email. But now, when the client makes the order, the admin and user both also cannot receive the order confirmation email.

Others email e.g., register email, can send out, so I think SMTP should be no issue...

Kindly help on this.


Kindly send email to theflocha@gmail if you figure how to fix these issues. Thanks.

Newbie

Posts

Joined
Sun May 19, 2019 4:58 pm

Post by paulfeakins » Tue Jul 30, 2019 5:11 pm

"Kindly send email to theflocha@gmail if you figure how to fix these issues. Thanks."
Or because you have posted it on Commercial Support you can pay someone to make the changes? Alex

For quick, professional OpenCart support please email info@antropy.co.uk


User avatar
Expert Member

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - Reigate, Surrey, United Kingdom

Post by gabriel.albert » Tue Jul 30, 2019 7:21 pm

Hello,
Greetings !
I help you with this. Please mail me at: gabriel.cisin20@gmail.com and add me on skype: gabriel@cisinlabs.com to discuss more.

Looking forward to hearing you soon.

Regards
Gabriel A.

New member

Posts

Joined
Fri Nov 17, 2017 2:45 pm

Post by ostechnologies » Tue Jul 30, 2019 8:03 pm

Hello,

We can help you. You can contact us at manish@ost.agency

Opencart Expert | sales[at]ost.agency
Skype - manish.osuniverse | Gtalk - manishmt

Extensions for Opencart @ https://www.ost.agency/product/product- ... extensions
ost.agency - ecommerce website design, development and digital company


User avatar
Active Member

Posts

Joined
Mon Apr 06, 2015 1:30 pm

Post by deepvyas » Fri Aug 02, 2019 4:21 pm

Hi ,
I read both the issue posted
Sent email from deepvyas71@gmail.com, Please check

Regards
Deep

Expert Opencart Developer & Designer | S: deepvyas71 | E: deepvyas71@gmail.com


Active Member

Posts

Joined
Thu Jan 12, 2017 7:04 pm
Who is online

Users browsing this forum: No registered users and 5 guests