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 based on subtotal

Knowledge Base Lobby : uShop Support Conference : Tax, Shipping, and Handling Questions
Dec-18-17 09:48 AM EST
Original Message
Handling based on subtotal
Author ronharter on 05-24-2000 at 08:40 (EST)
We have a $25.00 minimum order and would like to have the customers who submit an order under $25.00 pay a handling fee to make up the difference. In other words if they placed an order for $20.00 it would add a $5.00 handling fee. If they place an order over $25.00 the handling fee is $0.00.

Even though it plainly states that we have a $25.00 minimum we still get orders for as little as $2.00. Hopefully the customer would add more items rather than pay the handling fee.

Thanks
Ron Harter
http://www.excess-solutions.com
E-MAIL AUTHOR | TABLE OF CONTENTS

Table Of Contents
  RE: Handling based on subtotal Bill Weiner, 2000-05-25 11:38:11 (1)
            Alternative to handling fee by subtotal ronharter, 2000-09-12 07:24:02 (2)
                 RE: Alternative to handling fee by subtotal Bill Weiner, 2000-09-12 15:10:26 (3)

Messages In This Discussion
         1. RE: Handling based on subtotal
        Author Bill Weiner on 05-25-2000 at 11:38 (EST)
There is now way to configure handling based on subtotal at this time. However, you may be able to setup that calculation as part of the shipping calculation by just shifting the prices in your shipping table accordingly.
TABLE OF CONTENTS
                 2. Alternative to handling fee by subtotal
                Author ronharter on 09-12-2000 at 07:24 (EST)
Bill,
Since the handling by subtotal is not possible at this time, I thought of an alternative:

Would it be possible to make it so when the customer presses the continue button on the display_cart.html page that it would check the subtotal amount and if it is under our minimum ($25.00) for us. It would tell them to press the BACK button to continue shopping, and not let them continue, OR warn them that if they do continue they will be charged an additional handling fee to meet the minimum order which will not show up on their order?

Actually we will accept an order for $24.00 as many of our items are $3.00 or $4.00.

Thanks
Ron Harter
TABLE OF CONTENTS
                         3. RE: Alternative to handling fee by subtotal
                        Author Bill Weiner on 09-12-2000 at 15:10 (EST)
There is not an easily configurable way to do that at this time, but if was absolutely necessary and you are familiar with Perl, you may want to look into implementing the logic in the "custom_handling" subroutine. That is, all of the common variables (including the subtotal) have been documented at the top of the "custom_handling" subroutine that is located in the "ushop.pl" file. This makes it easy to access those variables and write your custom logic accordingly.

For instance, you might want to add this logic to that "custom_handling" subroutine:


if ($totals_subtotal1 < 25)
{
&missing_input("Minimum Purchase","Minimum purchase ammount is $25.");
}

See the 6.3 in the programmer's guide for some more information:

http://www.uburst.com/uShop/reference/programmers_guide.html#CGI3

... And let me know if you need any assistance.
TABLE OF CONTENTS

© 2003 Microburst Technologies, Inc.