www.uburst.com www.uburst.com

"Receipt Shipping and Handling Mod"

Go back to the LobbyClick here to Go Back to Main ListingClick here to see helpClick here to Search the Forum

General Questions
Forum Type: Public
Moderator: edmunds
Time Zone: EST
Printer Friendly Format
Original Message
 
"Receipt Shipping and Handling Mod"
Posted by jdempsey on Mar-10-02 at 06:34 PM (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.

Click to Send Alert Message to the Administrator Click to edit this messageClick to EMail Click here to reply to this messageClick here to reply to this message with quotesClick to goto the Table of Contents

 Table of Contents

RE: Receipt Shipping and Handling M..., Bill Weiner, Mar-12-02, (1)

 

 
Click here to goto Click here to goto the Lobby
Messages in this discussion
 
1 . "RE: Receipt Shipping and Handling Mod"
Posted by Bill Weiner on Mar-12-02 at 06:02 AM (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.

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.