URL: http://www.uburst.com/cgi-bin/dcforum/dcboard.cgi
Forum: ushp_general_purpose
Thread Number: 371
[ Go back to previous page ]

Original Message
"Print Order Option"

Posted by M Ulm [monteulm@hotmail.com] on at 06:29 AM
I just did a test Print Order and it created a tmp file in my data directory with my order information. I have lots of these from customers. All I want to do is include the number that ushop used to name that tmp file on the Print Order form. This will allow phone in orders to give me that number and I can get his order information from the tmp file in my data directory. Can you tell me how to do that?

Table of contents

Messages in this discussion
"RE: Print Order Option"
Posted by Bill Weiner on at 03:47 AM
If you are using one of the external payment processing systems or the "custom" payment option, then, Yes, the a ".tmp" file will be created for "Print" orders too.

If you want to include the $order_number at the top of the "Print Form"... there here are some steps:

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

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

STEP 3: Do a search on the following line:

$order_instructions = $settings[62];

STEP 4: Immediately AFTER that line, add this line:

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

(In the above line, there should NOT be spaces around the two "BR"s.)

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