Sender as language string

  • Posts: 6
  • Thank you received: 0
4 years 2 months ago #315807

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

Attachments:

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

  • Posts: 81504
  • Thank you received: 13063
  • MODERATOR
4 years 2 months ago #315818

Hi,

In the HTML or the preload of the email, you should be able to do that with such 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.

  • Posts: 6
  • Thank you received: 0
4 years 2 months ago #315828

Worked wonderfully, thank you very much! N

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

Time to create page: 0.060 seconds
Powered by Kunena Forum