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.
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
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:
$temp_tracking_id = "$order_number_prefix$date_stamp";
Change to:
$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:
tracking_lastname,SYSTEM,Billing Last Name,50,Y,TEXTBOX-REG,,,N
And change to:
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.
Offline