[ic] Handling showing up in Ship Modes list

Loy Ellen Gross interchange-users@interchange.redhat.com
Fri Feb 22 17:07:01 2002


Short version: how do I get a handling charge, listed in the shipping
table, to NOT show up as a valid shipping charge?

Long version: I need to allow customers to be able to upgrade their 
shipping option which is a $4 shipping charge in addition to whatever 
comes up on the standard table. What I have done:

Added shipping method 'gelpack' to the shipping table. Since I didn't 
know how to do a flat rate, I made it 'by price' and price from 0 to
infinity is $4. (We also have 'usps' and 'nextday' which are both 
tables selected by price.)

Removed the restriction from catalog.cfg to allow customers to select
their own handling charge. (Commented out # FormIgnore   mv_handling)

Added a checkbox (default checked) to the checkout page for that
option. (<input type="checkbox" name="mv_handling" checked value="gelpack">)

What I am getting:

The checkbox works correctly ... if I check it, I get $4 in [handling] 
and if not, then $0. So far, so good.

However, 'gelpack' is also showing up in the shipping modes drop-down
list, allowing customers to choose this as a regular shipping
option. So, my list might look like:

GelPack $4
US Priority Mail $7
US Next Day Express $23

Naturally, people choose the 'cheap' shipping option ... how do I get 
the handling charge to NOT show up as a ship method?

I have not changed the shipping code from checkout, so it looks like this:

<SELECT NAME=mv_shipmode>
  [shipping
    label=1
    mode=|[data table=country key='[default country US]' col=shipmodes]|
  ]
</SELECT>

Thanks for any pointers!!!!

  -- Loy

--
Loy Ellen Gross :: Specialty Web Products WNY :: BiznessOnline.com 
  <lgross@thebiz.net> :: home office 585.343.0424 :: cell 585.330.9005