[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [mv] A Question on Pricing
On Fri, Nov 19, 1999 at 10:14:44AM -0500, Felix C. Gomes wrote:
> The item(s) I am selling do not have pre-determined pricing. My client is
> trying to process credit cards to pay for surety bonds. The premium for
> these bonds varies by individual. Is there a way to configure Mini-Vend to
> accept user inputted pricing? In other words, can the person be e-mailed
> with the premium price, click on a link in the e-mail, enter the
> description, price, etc… and proceed with a credit card transaction or is a
> pre-determined price a necessity? Your help would be greatly appreciated.
>
> Thank you,
> Felix C. Gomes
This is entirely possible... plunging through the code one day I believe
I saw a way to allow a price to be set from a form, and looking again its
briefly mentioned in the docs... I'm not sure if this works, but I think
if you set your price in the product db to 0 and set CommonAdjust in the
catalog.cfg to $ then for any product with a zero price MV will take the
price from the mv_price variable, which you could set up as an input box.
This is completed untested by me and I might just be blowing a lot of hot
air.
The way I have done it for a gift certificate is I set my own variable
value in the basket code to be the value of the certificate and then used
a pricing routine in the CommonAdjust field... not the easiest route, and
I'm not sure if its even valid within perl Safe.
The cheap and easy way = set the price to $1 and just let them pick
a quantity.
I'm sure there are more ways than that to do it... after all... this is
perl .
--
Anthony Ball ant@maine.com
MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039
tel:1.207.657.5078 fax:1.207.657.5048 http://www.maine.com/