- Posts: 35
- Thank you received: 2
Greeting in emails
- grafixpress
-
Topic Author
- Offline
-- 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 or Create an account to join the conversation.
- grafixpress
-
Topic Author
- Offline
- Posts: 35
- Thank you received: 2
Hello,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
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 or Create an account to join the conversation.
- Posts: 12953
- Thank you received: 1778
The solution can be to directly edit the "preload" file of your email via "Hikashop->System->Emails" :
www.hikashop.com/support/documentation/i...shop-email-form.html
And directly change these lines :
$customer_name = @$customer->name;
if(empty($customer_name))
$customer_name = @$data->cart->billing_address->address_firstname.' '.@$data->cart->billing_address->address_lastname;
Please Log in or Create an account to join the conversation.
- grafixpress
-
Topic Author
- Offline
- Posts: 35
- Thank you received: 2
Thank you this worked fine.
But I can´t find how to insert the title.
Any idea?
Thank you
Thomas
Please Log in or Create an account to join the conversation.
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
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.