www.uburst.com www.uburst.com

"Handling Charges"

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
 
"Handling Charges"
Posted by D Mangold on Feb-16-01 at 04:31 PM (EST)
How can I specify on the order form that a Handling Charge of $5.00 will apply on all orders less than $50.00?
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: Handling Charges, Bill Weiner, Feb-19-01, (1)
RE: Handling Charges (uStorekeeper), Bill Weiner, Feb-19-01, (2)

 

 
Click here to goto Click here to goto the Lobby
Messages in this discussion
 
1 . "RE: Handling Charges"
Posted by Bill Weiner on Feb-19-01 at 06:30 AM (EST)
At this time, the handling charge can only be a flat rate or based on the country that the order is being shipped to. So, you may just have to implement your own "custom_handling" subroutine, as per the instructions below:

STEP 1. Make a backup of your current "ushop.pl" file ... just in case.

STEP 2. Open your "ushop.pl" file with any text editor such as WordPad.

STEP 3. Do a search on "sub custom_handling".

STEP 4. Replace that entire "custom_handling subroutine with code similar to this:

sub custom_handling
{
local ($ret_value);

# Reset the return value.
$ret_value = 0.0;

if ($totals_subtotal2 < 50)
{
$ret_value += 5.00;
}

return ($ret_value);
}

STEP 5. Save the file... as TEXT if your editor asks... and try it out.

NOTE that in order to activate this "custom_handling" subroutine, you must set the handling calculation type in the uShop Control Panel to "CUSTOM".

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: Handling Charges (uStorekeeper)"
Posted by Bill Weiner on Feb-19-01 at 06:41 AM (EST)
Ooops. I just realized you were referring to uStorekeeper (as opposed to uShop).

At this time, the handling fee of uStorekeeper can only configured as a flat rate or based on the shipping destination country. Unless you want to manually modify the script, as per the instructions below:

STEP 1: Make a backup of your current "ustorekeeper.pl" file... just in case.

STEP 2: Open your "ustorekeeper.pl" file with any text editor such as WordPad.

STEP 3: Do a search on the following line:

$current_handling = &strip_letters($current_handling);

STEP 4: Immediately after that line, add the following lines:

if ($subtotal3 < 50)
{
$current_handling = 5;
}
else
{
$current_handling = 0;
}

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

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.