- Posts: 15
- Thank you received: 1
Multilingual order email
6 years 2 months ago #322925
by franchina
Multilingual order email was created by franchina
-- HikaShop version -- : 4.3.0
-- Joomla version -- : 3.9.20
Hello,
Why do I receive order emails in the customer's language? for these emails I would like to use my system language.
THX
-- Joomla version -- : 3.9.20
Hello,
Why do I receive order emails in the customer's language? for these emails I would like to use my system language.
THX
Please Log in or Create an account to join the conversation.
6 years 2 months ago #322932
by nicolas
Replied by nicolas on topic Multilingual order email
Hi,
There is no setting to select the language the shop owner will receive the emails in.
So that's the main reason.
However, there is a mechanism to send the emails to the customer in their own language.
Now what you can do is edit the "order admin notification" and "payment notification" via the menu System>Emails and add such code at the top of the preload section of the email:
and that will force the language of the email to be english (or whatever language you want if you replace en-GB by another language code).
There is no setting to select the language the shop owner will receive the emails in.
So that's the main reason.
However, there is a mechanism to send the emails to the customer in their own language.
Now what you can do is edit the "order admin notification" and "payment notification" via the menu System>Emails and add such code at the top of the preload section of the email:
Code:
<?php
$orderClass = hikashop_get('class.order');
$lang = new stdClass();
$lang->order_lang = 'en-GB';
$orderClass->loadLocale($lang);
?>
Please Log in or Create an account to join the conversation.
6 years 2 months ago #322948
by franchina
Replied by franchina on topic Multilingual order email
I'm sorry but it doesn't work, I hope you fix this problem in an update, after all, if my shop is Italian I don't understand why the system sends me notifications in the buyer's language.
Thank you
Thank you
Please Log in or Create an account to join the conversation.
Time to create page: 0.063 seconds