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

#   Greeting in emails

##

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

Less More

- Posts: 35
- Thank you received: 2
-
-

8 years 10 months ago [\#286470](#286470) by [grafixpress](/forum/user/29205-grafixpress "View grafixpress's Profile")  *[Greeting in emails](/forum/35-orders-management/893564-greeting-in-emails#286470 "-- HikaShop version -- : 3.2.2 business -- Joomla version -- : 3.8.3 -- PHP version -- : 7 -- Browser(s) name and version -- : Firefox  Hello, In emails: We would like to have the title before the name - this is more polite. Is there any way to do that? and/or Is it possible the get the Title and Name from Adress and not from Joomla users?  Best regards Thomas")* was created by *[grafixpress](/forum/user/29205-grafixpress "View grafixpress's Profile")*

-- HikaShop version -- : 3.2.2 business
-- Joomla version -- : 3.8.3
-- PHP version -- : 7
-- Browser(s) name and version -- : Firefox

Hello,
In emails:
We would like to have the title before the name - this is more polite. Is there any way to do that?
and/or
Is it possible the get the Title and Name from Adress and not from Joomla users?

Best regards
Thomas

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

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

Less More

- Posts: 35
- Thank you received: 2
-
-

8 years 10 months ago [\#286472](#286472) by [grafixpress](/forum/user/29205-grafixpress "View grafixpress's Profile")  Replied by *[grafixpress](/forum/user/29205-grafixpress "View grafixpress's Profile")* on topic *[Greeting in emails](/forum/35-orders-management/893564-greeting-in-emails#286472 "-- HikaShop version -- : 3.2.2 business -- Joomla version -- : 3.8.3 -- PHP version -- : 7 -- Browser(s) name and version -- : Firefox  Hello, In emails: We would like to have the title before the name - this is more polite. Is there any way to do that? and/or Is it possible the get the Title and Name from Adress and not from Joomla users?  Best regards Thomas")*

> grafixpress wrote: -- HikaShop version -- : 3.2.2 business
> \-- Joomla version -- : 3.8.3
> \-- PHP version -- : 7
> \-- Browser(s) name and version -- : Firefox
>
> Hello,
> In emails:
> We would like to have the title before the name - this is more polite. Is there any way to do that?
> and/or
> Is it possible the get the Title and Name from Adress and not from Joomla users?
>
> Best regards
> Thomas

Hello,
I could see if checkout is set to guest only the name is taken from adress. So it must be possible.
Best regards
Thomas

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

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

8 years 10 months ago [\#286471](#286471) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Greeting in emails](/forum/35-orders-management/893564-greeting-in-emails#286471 "-- HikaShop version -- : 3.2.2 business -- Joomla version -- : 3.8.3 -- PHP version -- : 7 -- Browser(s) name and version -- : Firefox  Hello, In emails: We would like to have the title before the name - this is more polite. Is there any way to do that? and/or Is it possible the get the Title and Name from Adress and not from Joomla users?  Best regards Thomas")*

Hello Thomas,

The solution can be to directly edit the "preload" file of your email via "Hikashop-&gt;System-&gt;Emails" :
[ www.hikashop.com/support/documentation/i...shop-email-form.html](https://www.hikashop.com/support/documentation/integrated-documentation/25-hikashop-email-form.html)

And directly change these lines :

> $customer\_name = @$customer-&gt;name;
> if(empty($customer\_name))
> $customer\_name = @$data-&gt;cart-&gt;billing\_address-&gt;address\_firstname.' '.@$data-&gt;cart-&gt;billing\_address-&gt;address\_lastname;

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

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

Less More

- Posts: 35
- Thank you received: 2
-
-

8 years 10 months ago [\#286542](#286542) by [grafixpress](/forum/user/29205-grafixpress "View grafixpress's Profile")  Replied by *[grafixpress](/forum/user/29205-grafixpress "View grafixpress's Profile")* on topic *[Greeting in emails](/forum/35-orders-management/893564-greeting-in-emails#286542 "-- HikaShop version -- : 3.2.2 business -- Joomla version -- : 3.8.3 -- PHP version -- : 7 -- Browser(s) name and version -- : Firefox  Hello, In emails: We would like to have the title before the name - this is more polite. Is there any way to do that? and/or Is it possible the get the Title and Name from Adress and not from Joomla users?  Best regards Thomas")*

Hi Mohamed,
Thank you this worked fine.
But I can´t find how to insert the title.
Any idea?
Thank you
Thomas

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg5MzU2NC1ncmVldGluZy1pbi1lbWFpbHM/dG1wbD1tYXJrZG93bg==) 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)
-

8 years 10 months ago [\#286543](#286543) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Greeting in emails](/forum/35-orders-management/893564-greeting-in-emails#286543 "-- HikaShop version -- : 3.2.2 business -- Joomla version -- : 3.8.3 -- PHP version -- : 7 -- Browser(s) name and version -- : Firefox  Hello, In emails: We would like to have the title before the name - this is more polite. Is there any way to do that? and/or Is it possible the get the Title and Name from Adress and not from Joomla users?  Best regards Thomas")*

Hello,

You should take a look at your HikaShop address custom fields in order to know which "namekey" you have to use to get the "title":
[ www.hikashop.com/support/documentation/2...listing.html#columns](https://www.hikashop.com/support/documentation/20-documentation/hikashop/tutorials/41-hikashop-field-listing.html#columns)

Regards,

---

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

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

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