Hello! I am trying to solve a problem that my new eshops show with the configuration of order email template. I have some eshops on Opencart 2.3 which send normally email (with the tamplate I insert to their code) when they receive an order. My new eshops (Opencart 3.0) don't show the template as it was before. I paste the same code (first i did a convertion from php to twig) on that files:
…/catalog/language/en-gb/mail/order.php -> order_add.php
…/catalog/view/theme/default/template/ order.tpl ->order_add.twig
I also cleared the cache of the Opecart on all of them.
After I pasted the code nothing happened and my email of order confirmation isn't as i want to although the customer email (the one that customer receives) is allwright. If anyone knows the solution it will be really apreciated.
Thank you.
…/catalog/language/en-gb/mail/order.php -> order_add.php
…/catalog/view/theme/default/template/ order.tpl ->order_add.twig
I also cleared the cache of the Opecart on all of them.
After I pasted the code nothing happened and my email of order confirmation isn't as i want to although the customer email (the one that customer receives) is allwright. If anyone knows the solution it will be really apreciated.
Thank you.
Hi. Maybe this can help you: we have just released an extension specific for OpenCart v3.x Store Owner Email. What it does it to send to Store Owner the same Order information as it is sent to Customer after placing an Order.
You can check more details here: https://www.opencart.com/index.php?rout ... n_id=33653
Hope this helps.
Have a good day!
You can check more details here: https://www.opencart.com/index.php?rout ... n_id=33653
Hope this helps.
Have a good day!
OCMDev
Web: http://www.ocmdevelopment.com/
Contact1: ocmdevelopment@gmail.com
Contact2: contact@ocmdevelopment.com
Hello!
I will try to fix it myself and if i can't i will see what to do...
In any case thank you for your reply!
Have a nice day!
I will try to fix it myself and if i can't i will see what to do...
In any case thank you for your reply!
Have a nice day!
Hi,
Sure, I hope you will fix it. In any case you can start by looking in catalog/controller/mail/order.php (if you haven't already)
You will see the structure of the ControllerMailOrder and maybe this can help you with your fix.
Best regards,
OCMDev
Sure, I hope you will fix it. In any case you can start by looking in catalog/controller/mail/order.php (if you haven't already)
You will see the structure of the ControllerMailOrder and maybe this can help you with your fix.
Best regards,
OCMDev
OCMDev
Web: http://www.ocmdevelopment.com/
Contact1: ocmdevelopment@gmail.com
Contact2: contact@ocmdevelopment.com
Thank you very much! I checked it in past but in opencart 2.x i couldn't find which one is its simillar doc. Do you know with which one i have to replace it?
Thanks a lot again
Thanks a lot again
Hi,
The Controller files containing send email functions are:
- in OpenCart v2302: catalog/model/checkout/order.php
- in Opencart v3.x: catalog/controller/mail/order.php
In these files you will find the add functions which are responsible for sending Order email confirmation. If you compare the two files you should find what you need to fix.
Hope this helps.
Best regards,
OCMDev
The Controller files containing send email functions are:
- in OpenCart v2302: catalog/model/checkout/order.php
- in Opencart v3.x: catalog/controller/mail/order.php
In these files you will find the add functions which are responsible for sending Order email confirmation. If you compare the two files you should find what you need to fix.
Hope this helps.
Best regards,
OCMDev
OCMDev
Web: http://www.ocmdevelopment.com/
Contact1: ocmdevelopment@gmail.com
Contact2: contact@ocmdevelopment.com
Who is online
Users browsing this forum: summercale and 130 guests