[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Base price added to per-item price
I'm setting up Minivend to sell printed products. My client
uses two values in determining cost -- a base price per
print job that doesn't depend on quantity, and a per
impression price. For example, if I order 1000 copies of a
flyer, he might add a $20 charge for the print job, and
$.02 per copy, and end up with $40.
Is there an standard way to do this with Minivend? It seems
like I should be able to put the $.02 in the 'price' field
where it'll get multiplied by the quantity, and put the
'base-price' of $20 somewhere else, where it can be added to
each order for this item. I've thought about putting the
$20 in as handling, but that seems pretty kludgey. I've been
unable to find a better solution in the docs or list
archive.
Another thought was to dynamically generate quantity prices
for pricing.asc from the values my client gives me:
q1=$20.02, q5=$4.02, q100=$.22, q1000=$.04, etc. That way
the totals would come out right, at least for those
quantities. That seems like it could get pretty messy, but
if that's the solution, I'll do it. In that case, is there
a way to force the customer to select from those quantities,
so they can't select anything in between? If not, I doubt
that any extrapolation Minivend does to find the
'in-between' price would come out right, since this is
working on a curve.
Thanks much,
Aaron
--
Aaron Baugher - abaugher@rnet.com - Quincy, IL, USA
Extreme Systems Consulting - http://haruchai.rnet.com/esc/
CGI, Perl, Java, and Linux/Unix Administration