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
Shipping Modifier Charges?

Knowledge Base Lobby : uShop Support Conference : Tax, Shipping, and Handling Questions
Nov-18-17 08:24 PM EST
Original Message
Shipping Modifier Charges?
Author Leighton on 02-15-2001 at 07:03 (EST)
I have a set my shipping to a flat fee of £2.95 up to a goods value of £75 after which shipping is free. However, some of my products are quite heavy, therefore I would like to add an additional one time shipping cost of £2.00 therefore making the total cost £4.95. By using the shipping modifier I can achieve this except if a customer orders multiple quantities then the extra shipping charge is also added but in the same multiples which makes it expensive! Is there anyway of adding a single shipping modifier charge i.e. £2.00 for any quantity purchased?

Thank you in advance for your help.
E-MAIL AUTHOR | TABLE OF CONTENTS

Table Of Contents
  RE: Shipping Modifier Charges? Bill Weiner, 2001-02-15 11:46:32 (1)
            RE: Shipping Modifier Charges? Bill Weiner, 2001-02-19 06:20:42 (2)

Messages In This Discussion
         1. RE: Shipping Modifier Charges?
        Author Bill Weiner on 02-15-2001 at 11:46 (EST)
I donít suppose you want to change the shipping to be based on the weight instead of the subtotal?

Assuming not, I think the easiest thing would be to just implement your own "custom_shipping" or your own "custom_handling" subroutine.

The "custom_shipping" and "custom_handling" subroutines can be found in the "ushop.pl".

Here are two ideas for implementing them:


--------------------------------------------
OPTION 1 CUSTOMIZING THE SHIPPING SUBROUTINE
--------------------------------------------

sub custom_shipping
{
local ($shipping_table) = @_;
local ($ret_value);

# Reset the return value.
$ret_value = 0.0;

if ($totals_subtotal2 100)
{
$ret_value += 2.00;
}

return ($ret_value);
}

--------------------------------------------

NOTES: You can change the ($totals_total_weight > 100) to whatever weight you want.

NOTES: To use this subroutine, just replace the current "custom_shipping" subroutine in your "ushop.pl" file and be sure to set the shipping calculation type in the uShop Control Panel to "CUSTOM".

--------------------------------------------


--------------------------------------------
OPTION 2 CUSTOMIZING THE HANDLING SUBROUTINE
--------------------------------------------

sub custom_handling
{
local ($ret_value);

# Reset the return value.
$ret_value = 0.0;

if ($totals_total_weight > 100)
{
$ret_value += 2.00;
}

return ($ret_value);
}

--------------------------------------------

NOTES: You can change the ($totals_total_weight > 100) to whatever weight you want.

NOTES: To use this subroutine, just replace the current "custom_handling" subroutine in your "ushop.pl" file and be sure to set the handling calculation type in the uShop Control Panel to "CUSTOM".

--------------------------------------------
TABLE OF CONTENTS
                 2. RE: Shipping Modifier Charges?
                Author Bill Weiner on 02-19-2001 at 06:20 (EST)
It appears some of "OPTION 1" did not appear correctly in this forum (thanks to the less-than and greater-than signs)... is should read:

--------------------------------------------
OPTION 1 CUSTOMIZING THE SHIPPING SUBROUTINE
--------------------------------------------
sub custom_shipping
{
local ($shipping_table) = @_;
local ($ret_value);

# Reset the return value.
$ret_value = 0.0;

if ($totals_subtotal2 < 75)
{
$ret_value = 2.95;
}

if ($totals_total_weight > 100)
{
$ret_value += 2.00;
}

return ($ret_value);
}

--------------------------------------------

NOTES: You can change the ($totals_total_weight > 100) to whatever weight you want.

NOTES: To use this subroutine, just replace the current "custom_shipping" subroutine in your "ushop.pl" file and be sure to set the shipping calculation type in the uShop Control Panel to "CUSTOM".

--------------------------------------------
TABLE OF CONTENTS

© 2003 Microburst Technologies, Inc.