Customer email variables

28.09.2013 13:15
#1
SoHo22
Joomshopping forum user no avatar
Name: Sabine
07.04.2013
Сообщения: 12
Quote
Customer email variables

Hi,
I would like to address the customer as followed:

Dear Mr. Firstname Lastname,
or in german

Sehr geehrte Frau Lastname,

Variables for firstname is {name}, for Lastname ist {family}, but what ist the variable for the title Mr. / Mrs. - Herr / Frau ? {title} does not work.

Thanx
SoHo

 
01.10.2013 18:06
#2
SoHo22
Joomshopping forum user no avatar
Name: Sabine
07.04.2013
Сообщения: 12
Quote
Aw: Customer email variables

Hi there, this can´t be so difficult. I only need the variable for the title. Is there anybody out there who can help me with this?

So long
SoHo

 
01.10.2013 20:14
#3
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Сообщения: 25919
Quote
Aw: Customer email variables

components\com_jshopping\models\checkout.php

aftre rows
$order_email_descr = str_replace("{name}",$order->f_name, $order_email_descr);
$order_email_descr = str_replace("{family}",$order->l_name, $order_email_descr);
$order_email_descr = str_replace("{email}",$order->email, $order_email_descr);


add

$order_email_descr = str_replace("{title}",$order->title, $order_email_descr);


Последнее изменение: 02.10.2013 11:43
 
05.10.2013 10:49
#4
SoHo22
Joomshopping forum user no avatar
Name: Sabine
07.04.2013
Сообщения: 12
Quote
Aw: Customer email variables

Thanx und DANKE!

 


Copyrights MAXXmarketing GmbH. Alle Rechte vorbehalten
Durch die Nutzung dieser Website stimme ich zu, dass Cookies zur optimalen Gestaltung der Website sowie zur Analyse der Nutzung der Website verwendet werden. Weiterführende Informationen finden Sie hier. OK, einverstanden.