[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
Re: [ic] Quick question about shipping
Quoting Thomas N. Stefanidis (thomas@prometheas.gr):
> Hello,
> i have set the shipping method(and it works fine) but don't know how to
> do the last shipping method :
>
> from 100 till 120 cost=220$
> .....
> from 180 till 200 cost=300$
> i can't do that --> "after 200 kilogram add 15$ for every 20 kilogram
> in the last price (300)
>
> so if the weight will be 220 the cost wil be 315,
> if it's 240 it will be 330.
What is wrong with (replace | with TAB):
MODE|Some shipping mode|200|99999|f my $add = int ((@@TOTAL@@ - 200) / 20); 300 + $add * 15;
--
Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
phone +1.513.523.7621 fax 7501 <mheins@redhat.com>
Friends don't let friends use Outlook. -- Bob Blaylock
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users