[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: Price adjustment based on weight
****** message to minivend-users from Frank Miedreich <miedreich@acm.org> ******
>****** message to minivend-users from Mike Lerley <mike@bfent.com>
>******
>
>I am trying to do something that seems very simple; I must be missing
>something. I have products that have specific weights and people order
>various quantities of them. What I want is the price to be based on the
>weight rather than the quantity. For example, if I have an item that is
>$8.99/pound and each item is 1.25 pounds, the price for 4 should be
>$44.95 (8.99*1.25*4) rather than 35.96 (8.99*4). I considered using
>UseModifier but I don't think I want to. What's the easy way to do
>this?
>-mike
>
It's a question of design of course, but I would include (in the database)
a field for weight per item, price per item (not per pound), and then
display price/weight for the price per pound.
General idea: change what the user sees in a specific context instead of
the internal processing. You don't even want to consider using UseModifier
for this.
Frank
--
Frank Miedreich
Max-Planck-Institut fuer psychologische Forschung
-
To unsubscribe from the list, DO NOT REPLY to this message. Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list