www.uburst.com www.uburst.com

"Order Number"

Go back to the LobbyClick here to Go Back to Main ListingClick here to see helpClick here to Search the Forum

Programmer Tips
Forum Type: Public
Moderator: edmunds
Time Zone: EST
Printer Friendly Format
Original Message
 
"Order Number"
Posted by peteburford on May-14-01 at 03:01 AM (EST)
Ushop 3
I would like to show the order number on the 'thankyou page' so that the customer can make a note of it in case he doesn't get his email. (customers make typo's in their email addresses and then accuse us of not sending them an email).
Without an order number it is difficult to track them down.
I have checked the reference section but can't find anything of help.
It would make things easier, if you had a list of fields and variables we can access, saves us having to write you so often.
Click to Send Alert Message to the Administrator Click to edit this messageClick to EMail Click here to reply to this messageClick here to reply to this message with quotesClick to goto the Table of Contents

 Table of Contents

Re: Order Number, Joseph Pishgar, May-14-01, (1)
RE: Order Number, Bill Weiner, May-14-01, (2)
Order Number, Pete Burford, Aug-12-01, (3)
RE: Order Number, Bill Weiner, Aug-13-01, (4)

 

 
Click here to goto Click here to goto the Lobby
Messages in this discussion
 
1 . "Re: Order Number"
Posted by Joseph Pishgar on May-14-01 at 10:35 AM (EST)
While that might be a feature in a future version of uShop (TBD), it is currently not a recommended alteration to the e-commerce program.

The Order Reader can supply you with the customer's information, order number, etc for use in tracking.

Regards,
Joseph Pishgar
Support Engineer
Microburst Technologies, Inc.
www.uburst.com

Remove this Message: Administrator and Moderator onlyClick to Send Alert Message to the Administrator Click to edit this messageClick to EMail Click here to reply to this messageClick here to reply to this message with quotesClick to goto the Table of Contents
 
2 . "RE: Order Number"
Posted by Bill Weiner on May-14-01 at 11:33 PM (EST)
If you want, you can see a list of global variables that are accessible throughout the script by taking a look at the top of the "ushop-lib.pl" file. The names should be self explanatory.

As for adding the order number to the "Thank You" page... that can be done by making a little modification to the ushop.pl script. So if you are familiar with Perl and want to try making the change:

STEP 1: Make a backup of your current ushop.pl file... just in case.

STEP 2: Open your ushop.pl file with any text editor such as WordPad.

STEP 3: Do a search on the following text:

# Replace the USHOP INSTRUCTIONS.

STEP 4: Immediately AFTER that line, add the following line:

$order_instructions .= "< BR >Your order number is: $orderNumber";

STEP 5: Save the script (as TEXT if your editor asks)... and try it out!

Remove this Message: Administrator and Moderator onlyClick to Send Alert Message to the Administrator Click to edit this messageClick here to reply to this messageClick here to reply to this message with quotesClick to goto the Table of Contents
 
3 . "Order Number"
Posted by Pete Burford on Aug-12-01 at 11:01 AM (EST)
Bill,
Thanks, however you were slightly off target..

the following line works ok
$order_instructions .= "Your order number is:$order_number";

Note the variable name is $order_number
and NOT $orderNumber

Many thanks for pointing me in the right direction.

Remove this Message: Administrator and Moderator onlyClick to Send Alert Message to the Administrator Click to edit this messageClick to EMail Click here to reply to this messageClick here to reply to this message with quotesClick to goto the Table of Contents
 
4 . "RE: Order Number"
Posted by Bill Weiner on Aug-13-01 at 06:16 AM (EST)
Thanks for catching that typo.
Remove this Message: Administrator and Moderator onlyClick to Send Alert Message to the Administrator Click to edit this messageClick here to reply to this messageClick here to reply to this message with quotesClick to goto the Table of Contents


Archive This Thread: Admin and Moderator OnlyRemove This Thread: Admin and Moderator Only
Click here to goto Click here to goto the Lobby

 

 

 

 

 

 

 

 

 

 

 

 
Questions or problems regarding this bulletin board should be directed to Webmaster
©1997-1999 by DCScripts. All rights reserved.