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
Print Order / Discount Question

Knowledge Base Lobby : uShop Support Conference : General Questions
Nov-18-17 12:56 PM EST
Original Message
Print Order / Discount Question
Author Rita on 09-09-2000 at 07:01 (EST)
I am using uShopV3.0.
On the previous version the "Print Order" was generated by a print applet which generated the order as a text file, similar like the email notification. I am missing that in the V3.0. In any case, what I really would like to add is that when hittin "print order", the printer starts to work and spits out the filled out order. Right now only the order page shows - and the brower's print option must be used for printing. Of course I added a line, telling the customer to use the brower's print option. Still, I find this a bit unprofessional and would like to accomplish, the page is really being printed as soon as hitting "print page". Any chance for e.g. a snip of javascript to do that?

Another small problem: is there a chance to have the discount rate displayed as just a full digit, i.e. no decimals?
E-MAIL AUTHOR | TABLE OF CONTENTS

Table Of Contents
  RE: Print Order / Discount Question Bill Weiner, 2000-09-09 14:07:16 (1)

Messages In This Discussion
         1. RE: Print Order / Discount Question
        Author Bill Weiner on 09-09-2000 at 14:07 (EST)
In order to get the "Print" page to automatically print, here's a little trick:

Login to the uShop Control Panel, then under "GENERAL SETTINGS - PAYMENT OPTIONS" enter the following JavaScript code in the Print Payment Option's "Instructions Displayed On The Print Page" field:

-script-
window.print();
-/script-

Of course use greater-than and less-than signs instead of the dashes (-) that I used above (I had to use dashes because this forum doesn't let me put greater-than/less-than signs).

And that should do it!

In regard to displaying the discount rate on the order form as a integer instead of a decimal number... unfortunately that can't be done with out making a mod to the portion of the ushop.pl script that formats that output.
TABLE OF CONTENTS

© 2003 Microburst Technologies, Inc.