Kryptronic Software Support Forum

You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.

#1 01-08-2005 19:17:53

carasmo
Member
From: Florida
Registered: 10-07-2002
Posts: 147
Website

Unique Tracking Number Please Help

I would like to change the order numbers to the lastname of the person and a unique number is there a fast way to do this?

Thank you!

Also, can you tell me how, purely using the PHP Admin to add the last name the customer's name so I can see it fast when they call, most people don't have their order number.

Thanks.

Offline

 

#2 01-11-2005 11:45:46

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19516
Website

Re: Unique Tracking Number Please Help



I would like to change the order numbers to the lastname of the person and a unique number is there a fast way to do this?

This would be done by hacking the file ./cgi-bin/library/modules/ste_chkout.pl.  In there, in the routine 'ste_chkout_fin', look for:

Code:


$temp_tracking_id = "$order_number_prefix$date_stamp";

Change to:

Code:


$fd_tracking_lastname_calc = vars_urlencode($fd_tracking_lastname);
$temp_tracking_id = "$fd_tracking_lastname_calc$date_stamp";

For your second item:



Also, can you tell me how, purely using the PHP Admin to add the last name the customer's name so I can see it fast when they call, most people don't have their order number.

You have to do this via FTP.  Get a copy of the file ./data/tables/config_tracking.csv and locate the line:

Code:


tracking_lastname,SYSTEM,Billing Last Name,50,Y,TEXTBOX-REG,,,N

And change to:

Code:


tracking_lastname,SYSTEM,Billing Last Name,50,Y,TEXTBOX-REG,,,Y

Notice: N changed to Y on the end.  Upload back to the server in BINARY mode.


Nick Hendler

Offline

 

#3 01-12-2005 10:20:07

carasmo
Member
From: Florida
Registered: 10-07-2002
Posts: 147
Website

Re: Unique Tracking Number Please Help

Big Thanks!

Offline

 

Board footer