Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

e-mail notifications

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 08-13-2009, 12:35 PM
 
Lino1340 Lino1340 is offline
 

Newbie
  
Join Date: Jul 2009
Posts: 2
 

Default e-mail notifications

Hello,
Can someone please help me out with an e-mail question?

Can I change the information displayed in the subject header of e-mail notifications to relfect a specific USER info field?

Such as: If a USER registered and I wanted the e-mail that comes to the sales department to say JOHN DOE order #1 notification.

Can that be done?
__________________
Xcart gold 422
Reply With Quote
  #2  
Old 08-13-2009, 02:37 PM
 
Shamun Shamun is offline
 

X-Adept
  
Join Date: Jun 2009
Location: North Carolina
Posts: 841
 

Default Re: e-mail notifications

skin1/customer/mail

An example of the line which greets the person in the body:
Code:
{$lng.eml_dear|substitute:"customer":"`$customer.title` `$customer.firstname` `$customer.lastname`"},

To change the subject, you'll need to open the _subj.tpl file for each.

Example:
Code:
{* $Id: newsltr_unsubscr_admin_subj.tpl,v 1.9 2008/08/21 09:52:49 max Exp $ vim: set ts=2 sw=2 sts=2 et: *} {config_load file="$skin_config"}{ $config.Company.company_name }: {$lng.eml_unsubscribe_admin_subj}

I think you may be able to do something like this:

Code:
{* $Id: newsltr_unsubscr_admin_subj.tpl,v 1.9 2008/08/21 09:52:49 max Exp $ vim: set ts=2 sw=2 sts=2 et: *} {config_load file="$skin_config"}{ $config.Company.company_name }: {"`$customer.title` `$customer.firstname` `$customer.lastname`"}{$lng.eml_unsubscribe_admin_subj}



Havent tested it at all though.
__________________
- Shane Munroe
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 09:04 AM.

   

 
X-Cart forums © 2001-2020