Sender as language string

  • Posts: 6
  • Thank you received: 0
  • Hikashop Business
1 year 1 month 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: 72525
  • Thank you received: 11030
  • MODERATOR
1 year 1 month 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
  • Hikashop Business
1 year 1 month 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.054 seconds
Powered by Kunena Forum