[ic] Custom Shipping

Chaim Klar interchange-users@icdevgroup.org
Mon Jan 13 10:09:00 2003


HI:

> Quoting: Miguel Navarro
> Trying to build a custom shipping method eg.
>
> 1 through 9 items would be 1.50 per item
> 10 or more items would be 1.00 per item
>
> Have had no luck bypassing the UPS shipping method already present
>
> Thanks in advance
>

Try to put in the following code in shipping.asc it should work.

CPP	Charge Per Piece	quantity	0	0	e Nothing to ship!		{'ups' =>
"0",'ui_ship_type' => "quantity",}
CPP	Charge Per Piece	quantity	0	10	f 1.50 * @@TOTAL@@		{'PriceDivide' =>
"1",}
CPP	Charge Per Piece	quantity	10	9999999	f 1.00 * @@TOTAL@@		{'PriceDivide'
=> "1",}
CPP	Charge Per Piece	quantity	9999999	9999999	e Cant ship my whole
inventory!		{'PriceDivide' => "1",}


Thank You
Chaim Klar