[ic] UPS Shipping - how to add a percentage?

Mike Heins mikeh@minivend.com
Mon, 2 Apr 2001 22:22:12 -0400

Quoting Jim Balcom (jim@idk-enterprises.com):
> On Mon, 2 Apr 2001, Bob Puff@NLE wrote:
> BP>>In reading the docs (!), I find examples of using the UPS tables to
> calculate shipping, and also how to add a fixed anount to the shipping
> value, and also how to round up.  I also see how to do formulas based
> on weight or dollar amount.
> BP>>However, I want to do both!  I want to take the number from the UPS
> table, multiply it by 1.25, then add 3 to the result.
> I've been using the UPS Online World Ship, and I've set it to add a
> flat 50% to their quoted rate. I'm finding that this works pretty well
> - overall. Boxes from Uline are costing me, on average, $1.00 each, and
> then add in UPS's weekly pick-up cost, as well as all of the nickeling
> and diming that UPS does (like $5.00 to change a house number in the
> same block) and the 50% overcharge seems to come out about even.
> I don't have an answer to your question directly, but perhaps, overall,
> you could do just as well with only a percentage multiplier?? Win some,
> lose some, and some you get rained out???

Actually if you use the new extended option format (like that distributed in
the demo), you can do:

    { 'at_least' => "5", adder => '(@@TOTAL@@ * .25 ) + 3.00' }

Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH  45056
phone +1.513.523.7621 fax 7501 <mheins@redhat.com>

"Even if you're on the right track, you'll get run over if you just
sit there." -- Will Rogers