News:

AbanteCart v1.4.2 is released.

Main Menu
support

E-Mail subject required!

Started by HADY, June 06, 2020, 03:57:59 AM

Previous topic - Next topic

HADY

Hello!


I searched forums but couldn't find anything about this

After Upgrading to latest Version 1.2.16 we are getting next error:


2020-06-06 10:51:32 - Email Template with text id "storefront_welcome_email_approved" and language_id = 9 not found
2020-06-06 10:51:32 - Error: E-Mail subject required!


What is causing this please ?

Thanks
Thank you In Advanced
Regards
HADY

maxter

Email Template is a new feature in 1.2.16

My guess, there is no email template for your language. Default English language is 1 and you have 9.

Copy email templates to your language and translate.

Basara

#2
The fastest way to copy email templates from the English is to use Load missing data tool
https://abantecart.atlassian.net/wiki/spaces/AD/pages/15302710/Edit+Language#EditLanguage-LoadmissingData

Please backup before the run

HADY

Quote from: maxter on June 06, 2020, 11:47:53 AM
Email Template is a new feature in 1.2.16

My guess, there is no email template for your language. Default English language is 1 and you have 9.

Copy email templates to your language and translate.


Thanks for your reply.
Thank you In Advanced
Regards
HADY

HADY

Quote from: Basara on June 08, 2020, 03:54:25 AM
The fastest way to copy email templates from the English is to use Load missing data tool
https://abantecart.atlassian.net/wiki/spaces/AD/pages/15302710/Edit+Language#EditLanguage-LoadmissingData

Please backup before the run


Thanks for reply, I think this will effect on already modified localization languages files and take act. I don't recommend this way. The best way is to translate them one by one. but I still have one more question, Shall I translate the contain of Html Body and Text Body together or translating text body only or html body only?? I am Little bit confused what is the correct operation I have to do?


Thanks
Thank you In Advanced
Regards
HADY

Basara


HADY

Thank you In Advanced
Regards
HADY

hani

Hello

I have upgraded from 1.2.15 to 1.2.16 and i am getting a similar error as below

2020-07-09 14:18:24 - Email Template with text id "storefront_new_customer_admin_notify" and language_id = 1 not found
2020-07-09 14:18:24 - Error: E-Mail subject required!
2020-07-09 14:18:24 - Email Template with text id "storefront_welcome_email_activated" and language_id = 1 not found
2020-07-09 14:18:24 - Error: E-Mail subject required!


I have checked the email templates in the Design >> Email templates they are available

Can anyone tell what might be wrong??

Thanks in advance for any advise

hani

Hello again

I think i found the problem, i have 2 stores, a retail store and email templates are available and another store for wholesale and here in the second store EMAIL TEMPLATES are not available

What is the easiest way to copy the templates from one store to another?? do i have to do them manually one by one??

abolabo

To solve just open phpMyAdmin
and run this query.

NOTE: You need to replace table prefix ac_ with yours and check what ID of your second store. As you see below i set "1 as store_id". If your second store have another - your should to replace with yours too.

SET SQL_MODE='';
INSERT INTO `ac_email_templates`
(`status`, `text_id`, `language_id`, `headers`, `subject`, `html_body`, `text_body`, `allowed_placeholders`, `date_deleted`, `store_id`)
SELECT `status`, `text_id`, `language_id`, `headers`, `subject`, `html_body`, `text_body`, `allowed_placeholders`, `date_deleted`, 1 as `store_id`
FROM `ac_email_templates`
WHERE `store_id` = 0;
"No one is useless in this world who lightens the burdens of another."
― Charles Dickens

hani


Forum Rules Code of conduct
AbanteCart.com 2010 -