uShop English (U.S.) for 179!

uStorekeeper English (U.S.) for 149!

 Products
       uTest
       uReserve
       uShop
       uStorekeeper
       uGolf
       uDirectory
       uSignIn
 Tech Support
       Support Policy
       Knowledge Base
            uTest
            uReserve
            uShop
            uStorekeeper
            uGolf
            uDirectory
            uSignIn
       Documentation
       Reference Sites
 Legal
       Software Piracy
       Legal Notices
       Privacy Policy
       Licensing
 Miscellaneous
       Reseller Info
       Contact Us
       Site Map
Order Number

Knowledge Base Lobby : uShop Support Conference : Programmer Tips
Nov-18-17 03:31 AM EST
Original Message
Order Number
Author peteburford on 05-14-2001 at 03:01 (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.
E-MAIL AUTHOR | TABLE OF CONTENTS

Table Of Contents
  Re: Order Number Joseph Pishgar, 2001-05-14 10:35:29 (1)
  RE: Order Number Bill Weiner, 2001-05-14 23:33:35 (2)
            Order Number Pete Burford, 2001-08-12 11:01:44 (3)
                 RE: Order Number Bill Weiner, 2001-08-13 06:16:54 (4)

Messages In This Discussion
         1. Re: Order Number
        Author Joseph Pishgar on 05-14-2001 at 10:35 (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
TABLE OF CONTENTS
         2. RE: Order Number
        Author Bill Weiner on 05-14-2001 at 23:33 (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!
TABLE OF CONTENTS
                 3. Order Number
                Author Pete Burford on 08-12-2001 at 11:01 (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.
TABLE OF CONTENTS
                         4. RE: Order Number
                        Author Bill Weiner on 08-13-2001 at 06:16 (EST)
Thanks for catching that typo.
TABLE OF CONTENTS

© 2003 Microburst Technologies, Inc.