Greeting in emails

  • Posts: 35
  • Thank you received: 2
  • Hikashop Business
6 years 10 months ago #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

Please Log in or Create an account to join the conversation.

  • Posts: 35
  • Thank you received: 2
  • Hikashop Business
6 years 10 months ago #286472

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.

  • Posts: 12953
  • Thank you received: 1778
6 years 10 months ago #286471

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.

  • Posts: 35
  • Thank you received: 2
  • Hikashop Business
6 years 10 months ago #286542

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.

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
6 years 9 months ago #286543

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.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

Time to create page: 0.068 seconds
Powered by Kunena Forum