www.uburst.com www.uburst.com

"Print button won't print."

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
 
"Print button won't print."
Posted by Deroy on Jul-16-02 at 07:30 AM (EST)
I want the customer to either pay by credit card or print off the order.

I have a print button labelled Print (with no spaces) but when this is pressed instead of automatically printing it goes through to a page showing the customer details and what they've ordered etc.

I presume there must be an error on the data file as when I go to check orders I get the following message "File Error Unable to open ./data/YES" although I CAN read the orders if I press the Read All orders?

Would this data folder problem be affecting the print button problem?

Diagnostics Test shows:
DIAGNOSTIC TESTS
Data Directory = OK
Sendmail = Path OK
General Settings = OK
Affiliate Info = Does Not Exist
Affiliate Log File = Does Not Exist
Customer Log File = Does Not Exist
Inventory Log File = Does Not Exist
Coupon Data File = Does Not Exist

Anyone got any ideas what's wrong?

Click 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

 Table of Contents

Order Form Sorted - Just print butt..., Deroy, Jul-16-02, (1)
RE: Order Form Sorted - Just print ..., Bill Weiner, Jul-17-02, (2)

 

 
Click here to goto Click here to goto the Lobby
Messages in this discussion
 
1 . "Order Form Sorted - Just print button not working."
Posted by Deroy on Jul-16-02 at 10:07 AM (EST)
I've got the Order Reader problem sorted now. The only thing that doesn't work is the Print button.
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
 
2 . "RE: Order Form Sorted - Just print button not working."
Posted by Bill Weiner on Jul-17-02 at 04:38 AM (EST)
If you want to make the "Print" page automatically print, then try adding the following JavaScript directly into your "Print Order" instructions:

< script language='Javascript'> window.print(); < /script >

(On the uShop Control Panel under "General Settings" - "Payment Options" - "Instructions Displayed On The Print Page")

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.