X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   e-mail notifications (https://forum.x-cart.com/showthread.php?t=49162)

Lino1340 08-13-2009 12:35 PM

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?

Shamun 08-13-2009 02:37 PM

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.


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

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.