- Posts: 12
- Thank you received: 0
Change Title in the confirmation email
- hgk-sirius
-
Topic Author
- Offline
-- HikaShop version -- : x.x.x
-- Joomla version -- : x.x
-- PHP version -- : x.x.x
-- Browser(s) name and version -- : XXXXX x.x.x
-- Error-message(debug-mod must be tuned on) -- : Error_message
I use HikaShop business - and I am not satisfied with the salutation in the confirmation email. The program specifies that the customer is addressed by their first name. This is not suitable for German customers. Where can I change that the customer with Mr / Ms ... is addressed?
Thanks for your help
Please Log in or Create an account to join the conversation.
If you use HikaShop business, you can edit the email content in the HikaShop backend (System > Emails).
At this moment, you will be able to change the value used in the email for the customer appellation.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Please Log in or Create an account to join the conversation.
- hgk-sirius
-
Topic Author
- Offline
- Posts: 12
- Thank you received: 0
Thanks!
Please Log in or Create an account to join the conversation.
If you can provide us the HikaShop version number you use, it will be easier to explain it to you.
The email system has evolved in the last releases so depending your version, it could be different.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Please Log in or Create an account to join the conversation.
- hgk-sirius
-
Topic Author
- Offline
- Posts: 12
- Thank you received: 0
The versions number is Hikashop Business: 2.2.3
thanks
Hansgünter
Please Log in or Create an account to join the conversation.
'HI_CUSTOMER' => JText::sprintf('HI_CUSTOMER', $customer_name),
to something like that:
'HI_CUSTOMER' => JText::sprintf('HI_CUSTOMER', $data->cart->billing_address->address_lastname),
Please Log in or Create an account to join the conversation.
- hgk-sirius
-
Topic Author
- Offline
- Posts: 12
- Thank you received: 0
Thanks for your reply. Sorry, but I cannot find in the preload area
'HI_CUSTOMER' => JText::sprintf('HI_CUSTOMER', $customer_name),
but in the text area. So Ihave it change this:
'HI_CUSTOMER' => JText::sprintf('HI_CUSTOMER', $data->cart->billing_address->address_lastname).
Since I was not sure which is the correct e-mail form, I have changed it in the following, but unfortunately this did not lead to success
ORDER_CREATION_NOTIFICATION_SUBJECT
ORDER_NOTIFICATION_SUBJECTot lead to success
Thanks for your help!
Hansguenter
Please Log in or Create an account to join the conversation.
It's not in the text area but in the preload area that you need to do the change or you won't see any change.
The code has to be in the preload area. I just checked and it is there in the 2.2.3 version.
Please Log in or Create an account to join the conversation.
- hgk-sirius
-
Topic Author
- Offline
- Posts: 12
- Thank you received: 0
thanks for your help. Now I have found it, and it worked.
But now is only the last name there (without Mr. ). It should be supplemented with Mr /Mrs. or " hello, first name and last name.
Is that possible?
Thanks
Hansgünter
Please Log in or Create an account to join the conversation.
'HI_CUSTOMER' => JText::sprintf('HI_CUSTOMER', $data->cart->billing_address->address_title.' '.$data->cart->billing_address->address_lastname).
Please Log in or Create an account to join the conversation.
- hgk-sirius
-
Topic Author
- Offline
- Posts: 12
- Thank you received: 0
Thanks for your help.
It worked well - Title and last name be named in the salutation. However, the title appears only in English, although the title in the language file is translated correctly.
Why is that?
Thanks
Hansguenter
Please Log in or Create an account to join the conversation.
'HI_CUSTOMER' => JText::sprintf('HI_CUSTOMER', JText::_(strtoupper($data->cart->billing_address->address_title)).' '.$data->cart->billing_address->address_lastname).
Please Log in or Create an account to join the conversation.
- hgk-sirius
-
Topic Author
- Offline
- Posts: 12
- Thank you received: 0
Thanks! It has unfortunately not changed - only from Mr was MR. The question is why the German translation is not taken over by Mr to "Herr"!
Thanks
Please Log in or Create an account to join the conversation.
- Posts: 12953
- Thank you received: 1778
Can you make sure that your front-end and back-end default language is set to German ? through "Control Panel->Language Manager"
Please Log in or Create an account to join the conversation.
- hgk-sirius
-
Topic Author
- Offline
- Posts: 12
- Thank you received: 0
Please Log in or Create an account to join the conversation.
You should check that the translation for HI_CUSTOMER actually exists and is set to the right value in your language file.
Please Log in or Create an account to join the conversation.
- hgk-sirius
-
Topic Author
- Offline
- Posts: 12
- Thank you received: 0
The problem is not in the language file that is currently - the translation for Mr. is present, but the title is not translated!
Hansguenter
Please Log in or Create an account to join the conversation.
The translations in the language file are like that:
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Please Log in or Create an account to join the conversation.