[ic] Handling charge appears, but not included in total-cost

Dan Browning interchange-users@icdevgroup.org
Fri Mar 21 13:19:01 2003


At 07:23 AM 3/21/2003 -0500, you wrote:
>IC 4.9.7
>
>I want to charge a $2.99 handling fee for orders subtotaling less than 
>$50. In my include/checkout/shopping_cart I added this
>
>[assign handling=0]
>[if type=explicit compare="[calc][subtotal noformat=1] <50[/calc]"]
>[assign handling=2.99]
>
>And the handling charge does appear. It does not get added to the 
>total-cost however. The docs mention that mv_handling must be set but I'm 
>not sure where to do that or if that's even my problem. Any hints?

I would recommend that you setup standard handling charges, instead of 
using [assign].  I've quoted below an example of handling that Mike has 
posted in the past.

HTH,
-Dan


--
/~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\
| Dan Browning, Kavod Technologies,      <dan.browning@kavod.com> |
| 6700 NE 162nd Ave, Suite 210, Vancouver, WA (360) 843-4074 x217 |
\~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~/
In 1750 Issac Newton became discouraged when he fell up a flight of
stairs.




Quoting Dan McFarland (dan@mailturtle.com):
 > As a barter exchange owner, the best way to do it is to use a double- sales
 > tax set-up.  One tax would be the transaction fee, the other the sales tax.
 > This would keep them separate for accounting.
 >
 > The other option is to add the transaction fee to the sales tax percentage.
 > Say the transaction is 10% and the sales tax 5%, make the tax item TRADE
 > FEE/TAX at 15% total.  The drawback being if the user is non-taxable (out of
 > state parhaps) it would not add any tax or fee.
 >


You can also use mv_handling. Set $Values->{mv_handling} = 'barter' in your
sessions, and then in shipping.asc:


barter:
         desc: Transaction fee
         crit: [subtotal noformat=1]
         min:  0
         max:  999999999
         cost: x .10


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


Clothes make the man.  Naked people have little or no influence on
society.  -- Mark Twain