Customer email variables

28.09.2013 13:15
#1
SoHo22
Joomshopping forum user no avatar
Name: Sabine
07.04.2013
Posts: 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
Posts: 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
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 16480
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);


Letzte Änderung: 02.10.2013 11:43
 
05.10.2013 10:49
#4
SoHo22
Joomshopping forum user no avatar
Name: Sabine
07.04.2013
Posts: 12
Quote
Aw: Customer email variables

Thanx und DANKE!

 
Copyrights MAXXmarketing GmbH. All Rights Reserved