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

#   Email confirmation

##

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

Less More

- Posts: 84
- Thank you received: 0
-
-

14 years 5 months ago [\#52452](#52452) by [lwlbar](/forum/user/7236-lwlbar "View lwlbar's Profile")  *[Email confirmation](/forum/4-how-to/52452-email-confirmation#52452 "Hi,  I would like to change the users order confirmation email so that the email is addressed to the Business name (field socit in address table) instead of the firstname, whereabouts would I head to for the this?  kindly,  Luke")* was created by *[lwlbar](/forum/user/7236-lwlbar "View lwlbar's Profile")*

Hi,

I would like to change the users order confirmation email so that the email is addressed to the Business name (field socit in address table) instead of the firstname, whereabouts would I head to for the this?

kindly,

Luke

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

14 years 5 months ago [\#52508](#52508) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Re: Email confirmation](/forum/4-how-to/52452-email-confirmation#52508 "Hi,  I would like to change the users order confirmation email so that the email is addressed to the Business name (field socit in address table) instead of the firstname, whereabouts would I head to for the this?  kindly,  Luke")*

Hi lwlbar,

To address the email to the business name instead of the firstname, you have to edit the mail in HikaShop &gt; System &gt; Emails.
Edit the Order creation notification, and order status notification.

You can replace **$data-&gt;customer-&gt;name** in: Code:

&lt;?php echo JText::sprintf('HI_CUSTOMER',@$data-&gt;customer-&gt;name); ?&gt;

The edition of the emails are only available in commercial versions of hikashop.

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

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

Less More

- Posts: 84
- Thank you received: 0
-
-

14 years 5 months ago [\#52525](#52525) by [lwlbar](/forum/user/7236-lwlbar "View lwlbar's Profile")  Replied by *[lwlbar](/forum/user/7236-lwlbar "View lwlbar's Profile")* on topic *[Re: Email confirmation](/forum/4-how-to/52452-email-confirmation#52525 "Hi,  I would like to change the users order confirmation email so that the email is addressed to the Business name (field socit in address table) instead of the firstname, whereabouts would I head to for the this?  kindly,  Luke")*

Hi Xavier,

sorry i wan't quite clear. I had actually found my way to this point, but wasn't sure how to call the businesses name (field socit in the address table. I couldn't work out where customer and name labels were being called from. ($data-&gt;customer-&gt;name)

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

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86578
- Thank you received: 14321
-
-

14 years 5 months ago [\#52568](#52568) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Email confirmation](/forum/4-how-to/52452-email-confirmation#52568 "Hi,  I would like to change the users order confirmation email so that the email is addressed to the Business name (field socit in address table) instead of the firstname, whereabouts would I head to for the this?  kindly,  Luke")*

You can do it like that:

&lt;?php echo JText::sprintf('HI_CUSTOMER',@$data-&gt;cart-&gt;billing_address-&gt;socit); ?&gt;

However, note that you will have to move it AFTER the loadFullOrder block of code because that's where the data is loaded for the email.

The following user(s) said Thank You: [lwlbar](/forum/user/7236-lwlbar "View lwlbar's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzUyNDUyLWVtYWlsLWNvbmZpcm1hdGlvbj90bXBsPW1hcmtkb3du) 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.100 seconds

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