Skip to main content

Sender as language string

More
6 years 7 months ago #315807 by nicolasfink
Hi, I would like to be able to replace the sender name by a language string, as I am running a multiple-language shop -> see attachment. Is there a way to achieve this? Thanks for your help! Nicolas

Please Log in or Create an account to join the conversation.

More
6 years 7 months ago #315818 by nicolas
Replied by nicolas on topic Sender as language string
Hi,

In the HTML or the preload of the email, you should be able to do that with such code:
Code:
<?php $mail->from_name = JText::_('FROM_NAME_IN_EMAILS'); ?>
And then you can add a translation override like that:
FROM_NAME_IN_EMAILS="Sent by me"
www.hikashop.com/download/languages.html#modify

Please Log in or Create an account to join the conversation.

More
6 years 7 months ago #315828 by nicolasfink
Worked wonderfully, thank you very much! N

Please Log in or Create an account to join the conversation.

Time to create page: 0.185 seconds
Powered by Kunena Forum