Skip to main content

Amend Greeting in Email Template

14 years 1 month ago - 14 years 1 month ago #68360 by reders
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: 14 years 1 month ago by reders.

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

14 years 1 month ago #68477 by Jerome
Hi,

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

From
Code:
HI_CUSTOMER="Hi %s,"
To
Code:
HI_CUSTOMER="Dear %s %s,"

Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

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

Time to create page: 0.054 seconds
Powered by Kunena Forum