Skip to main content

Greeting in emails

More
8 years 8 months ago #286470 by grafixpress
-- 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 or Create an account to join the conversation.

More
8 years 8 months ago #286472 by grafixpress
Replied by grafixpress on topic Greeting in emails

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 or Create an account to join the conversation.

More
8 years 8 months ago #286471 by Mohamed Thelji
Replied by Mohamed Thelji on topic Greeting in emails
Hello Thomas,

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.

More
8 years 8 months ago #286542 by grafixpress
Replied by grafixpress on topic Greeting in emails
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 or Create an account to join the conversation.

More
8 years 8 months ago #286543 by Jerome
Replied by Jerome on topic Greeting in emails
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

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.213 seconds
Powered by Kunena Forum