- Posts: 100
- Thank you received: 1
Amend Greeting in Email Template
14 years 1 month ago - 14 years 1 month ago #68360
by reders
Amend Greeting in Email Template was created 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.
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
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic Re: Amend Greeting in Email Template
Hi,
You have to override the translation of "HI_CUSTOMER"
www.hikashop.com/fr/support/documentatio...faq.html#translation
From
To
Regards,
You have to override the translation of "HI_CUSTOMER"
www.hikashop.com/fr/support/documentatio...faq.html#translation
From
Code:
HI_CUSTOMER="Hi %s,"
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