[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [mv] Determining a shipping formula
Okay, this is a little complex but it can be done like this:
On Thu, Sep 30, 1999 at 05:46:41PM -0700, Brian Wright wrote:
> The first ten items have a shipping rate of $4.95. Subsequent groups of
> ten items add another rate of $4.95 per groups of ten items. The
> criteria I'm using is quantity.
( int( @@TOTAL@@ / 10 ) + ( @@TOTAL@@ % 10 ? 1 : 0 ) ) * 4.95
--
Andy <turner@mint.net>
``Why, just this weekend I got a bit snoggered, and before I knew it a
friend had released an egg sac and maneuvered me into fertilizing it. I
expect I shall have several thousand tiny, sightless offspring within a
few weeks.''
-- Jack Graham