Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

customer_id and customer_country in welcomes-Email


i2Paq

Recommended Posts

Hello,

 

I combined 2 contri's;

 

1. Automatic Notify Admin Via E-mail Of New Account v1.0.4_1

2. Welcome_Email_password

 

There are 2 things going wrong and I need some help.

 

With item 1 I get in stead of the Country's name the County_ID used by osCommerce, aka 150 instead of Netherlands.

 

The code used in this case is:

 

define('EMAIL_NEW_CLIENT_COUNTRY', 'Country:');

 

With item 2 I want to not only send the customers account name and password but also his account_id. The account name and password gets send correctly, customer_id is not send. What am I doing wrong with this code:

 

define('EMAIL_USERNAME', 'Account: <b>' . stripslashes($HTTP_POST_VARS['email_address']) . '</b>' . "\n\n");
define('EMAIL_CUSTOMERS_ID', 'Account ID: <b>' . stripslashes($HTTP_POST_VARS['customer_id']) . '</b>' . "\n\n");
define('EMAIL_PASSWORD', 'Password: <b>' . stripslashes($HTTP_POST_VARS['password']) . '</b>' . "\n\n");

 

Thanks!

Norman in 't Veldt

 

Moderator

osCommerce The Netherlands

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...