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
Receipt Shipping and Handling Mod

Knowledge Base Lobby : uShop Support Conference : General Questions
Dec-11-17 12:45 AM EST
Original Message
Receipt Shipping and Handling Mod
Author jdempsey on 03-10-2002 at 18:34 (EST)
My client is going to notify their customers of actual shipping charges after the order is placed.

I need a way to either not show the Shipping & Handling line in the final sales ($0.00 implies FREE). OR to enter some characters that don't imply free. The word "Note" or asterics, dashes or the word "note" and a link to an explanation.

The last method is the best because the client can then just enter an amount on the notification e-mail and send a copy to the customer.

The best I can figure is that the ushop.pl or support files (ushop-lib) will need to be hacked. I looked but couldn't find the final write location.
E-MAIL AUTHOR | TABLE OF CONTENTS

Table Of Contents
  RE: Receipt Shipping and Handling Mod Bill Weiner, 2002-03-12 06:02:53 (1)

Messages In This Discussion
         1. RE: Receipt Shipping and Handling Mod
        Author Bill Weiner on 03-12-2002 at 06:02 (EST)
There are a couple options:

OPTION 1: Is the store going to be charging tax on the items? If not, then the easiest thing to do might be to just set the "cart_show_totals" parameter of the uShopOrderButton applet to "NO". This will cause only the "Subtotal" to be displayed on the final order form. And then you can just add HTML/Text to the order form saying that "Applicable shipping changes will be added."

OPTION 2: Or as another option, perhaps you can just change the "Shipping & Handling" label on the order form to something else. This can be done via the "cart_label_shipping_and_handling" label on the uShopInitialize applet. (just put that applet on the same page as your uShopOrderButton applet).

Or

OPTION 3: If you just want to put the word "*Note" in the Shipping & Handling value cell (instead of displaying the $0.00), here's how to modify the script:

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

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

STEP 3: Do a search on the following line:

sub get_cart_html

... This will get you to the start of the subroutine that outputs the shopping cart HTML on the order forms.

STEP 4: In that subroutine, you will find TWO instances of this line:

$formatted_output = sprintf("%s %.2f",$currency_symbol,$totals_shipping_and_handling);

Try changing that line to something like this:

$formatted_output = "*Note";

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

NOTE: You may want to make the same changes to the "sub get_cart_text" subroutine which handles generating the TEXT output for the email receipt.
TABLE OF CONTENTS

© 2003 Microburst Technologies, Inc.