Amend Greeting in Email Template

  • Posts: 100
  • Thank you received: 1
12 years 1 month ago #68360

Please help,
We are trying to amend the email template 'Order creation notification'.

The Default Value is:
Hi Name,
<?php echo JText::sprintf('HI_CUSTOMER',@$data->customer->name);?>

We want to change this to:

Dear Mr Lastname,

We have amended the Language file and amended the template file in Hika shop admin to:
<?php echo JText::sprintf('HI_CUSTOMER',@$data->customer->title, @$data->customer->name);?>



Please can you advise me how to do this.

Regards,
Sean R.

Last edit: 12 years 1 month ago by reders.

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

  • Posts: 26152
  • Thank you received: 4027
  • MODERATOR
12 years 1 month ago #68477

Hi,

You have to override the translation of "HI_CUSTOMER"
www.hikashop.com/fr/support/documentatio...faq.html#translation

From

HI_CUSTOMER="Hi %s,"
To
HI_CUSTOMER="Dear %s %s,"

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.

Time to create page: 0.058 seconds
Powered by Kunena Forum