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
Handling Charges

Knowledge Base Lobby : uStorekeeper Support Conference : General Questions
Dec-13-17 04:03 AM EST
Original Message
Handling Charges
Author D Mangold on 02-16-2001 at 16:31 (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?
E-MAIL AUTHOR | TABLE OF CONTENTS

Table Of Contents
  RE: Handling Charges Bill Weiner, 2001-02-19 06:30:30 (1)
  RE: Handling Charges (uStorekeeper) Bill Weiner, 2001-02-19 06:41:14 (2)

Messages In This Discussion
         1. RE: Handling Charges
        Author Bill Weiner on 02-19-2001 at 06:30 (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".
TABLE OF CONTENTS
         2. RE: Handling Charges (uStorekeeper)
        Author Bill Weiner on 02-19-2001 at 06:41 (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!
TABLE OF CONTENTS

© 2003 Microburst Technologies, Inc.