Page 1 of 1

Mail error Opencart 4.1.0.0

Posted: Thu Feb 06, 2025 7:27 pm
by sylwekb
Hallo
Hosting provider has already explained what the problem is. Nowadays, spam scanners are very sensitive to such problems. There are missing translations, errors and signs such as those marked with arrows. I located it in catalog/controller/mail/order.php . Adding a translation to order mail catalog doesn't help. How to fix it?

Re: Mail error Opencart 4.1.0.0

Posted: Fri Feb 07, 2025 1:21 am
by ADD Creative
Check catalog/language/en-gb/mail/order_add.php, order_edit, etc. has the text_subject and text_greeting entries for all your languages.

Re: Mail error Opencart 4.1.0.0

Posted: Fri Feb 07, 2025 4:31 pm
by sylwekb
This is what's weird because it's translated in these language files. Please look attachements bottom. Unfortunately, it is still in the email

mail_text_subject
mail_text_greeting
#%s

Re: Mail error Opencart 4.1.0.0

Posted: Fri Feb 07, 2025 5:51 pm
by ADD Creative
It should not be mail_text_subject or mail_text_greeting, but just text_subject and text_greeting in your language files. The mail_ is added by the loader.

Re: Mail error Opencart 4.1.0.0

Posted: Sat Feb 08, 2025 12:12 am
by sylwekb
There's still something left to improve
Order ID: #%s 22285
07/02/2025

Re: Mail error Opencart 4.1.0.0

Posted: Sat Feb 08, 2025 12:44 am
by ADD Creative
Check text_order_id has not been changed or added to another language file.

Re: Mail error Opencart 4.1.0.0

Posted: Sat Feb 08, 2025 12:46 am
by by mona

Re: Mail error Opencart 4.1.0.0

Posted: Sat Mar 22, 2025 9:24 pm
by Elevate
It looks like you're missing some of the language files when you uploaded them to the server. Double check your upload.

Re: Mail error Opencart 4.1.0.0

Posted: Sun Mar 23, 2025 12:41 am
by JNeuhoff
Please test it on OC 4.1.0.2 or the master branch, to see whether this issue still exists, and if so report the issue on https://github.com/opencart/opencart