[Skip to main content](#vessel-content)

#   Amend Greeting in Email Template

##

- **[reders](/forum/user/8228-reders "View reders's Profile")**
- [![reders's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/8228-reders "View reders's Profile") Topic Author
- [ Offline](/forum/user/8228-reders)

Less More

- Posts: 100
- Thank you received: 1
-
-

14 years 1 month ago -  14 years 1 month ago [\#68360](#68360) by [reders](/forum/user/8228-reders "View reders's Profile")  *[Amend Greeting in Email Template](/forum/4-how-to/68360-amend-greeting-in-email-template#68360 "Please help, We are trying to amend the email template 'Order creation notification'.  The Default Value is: Hi Name, customer-&gt;name);?&gt;  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: customer-&gt;title, @$data-&gt;customer-&gt;name);?&gt;  Please can you advise me how to do this.  Regards, Sean R.")* was created by *[reders](/forum/user/8228-reders "View reders's Profile")*

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

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

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:
&lt;?php echo JText::sprintf('HI_CUSTOMER',@$data-&gt;customer-&gt;title, @$data-&gt;customer-&gt;name);?&gt;

Please can you advise me how to do this.

Regards,
Sean R.

Last edit: 14 years 1 month ago by [reders](/forum/user/8228-reders "View reders's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzY4MzYwLWFtZW5kLWdyZWV0aW5nLWluLWVtYWlsLXRlbXBsYXRlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

14 years 1 month ago [\#68477](#68477) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Re: Amend Greeting in Email Template](/forum/4-how-to/68360-amend-greeting-in-email-template#68477 "Please help, We are trying to amend the email template 'Order creation notification'.  The Default Value is: Hi Name, customer-&gt;name);?&gt;  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: customer-&gt;title, @$data-&gt;customer-&gt;name);?&gt;  Please can you advise me how to do this.  Regards, Sean R.")*

Hi,

You have to override the translation of "HI_CUSTOMER"
[ www.hikashop.com/fr/support/documentatio...faq.html#translation](http://www.hikashop.com/fr/support/documentation/106-faq.html#translation)

From Code:

HI_CUSTOMER="Hi %s,"

To Code:

HI_CUSTOMER="Dear %s %s,"

Regards,

---

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzY4MzYwLWFtZW5kLWdyZWV0aW5nLWluLWVtYWlsLXRlbXBsYXRlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.041 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
