[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: Update on Cory's Coupons
At 03:04 PM 6/22/99 , .cory.trese. wrote:
>****** message to minivend-users from ".cory.trese."
<digital@arcane.specialty-books.com> ******
>
>Dearest Ever-so-helpful List:
>
>(note : these are coupons we are dealing with, they are being freely given
>away, to a small group of people, or course. anyway...)
>
>I've figured out what I *have* to do with the coupons, easy or not. The
>customer (all customers) has a student ID number. On the billing location
page
>I'd like to have a student ID field where all users must (required field) put
>in their student ID number. Then I'd like to have minivend check to see if
>that ID is in an arbitrary database (<< that's the first thing I don't
know how
>to do yet) and then, if it is, set a variable that indicates that a discount
>should be taken from the order.
>
>The system need not alert the customer to the fact they are getting a
discount
>until checkout.html where I'd like to display a little graphic / message
>congratulating them on having the coupon and assuring them they are getting a
>discount. I'd also like to take the discount from the cost of the
products and
>the calculate tax and add shipping to that adjusted total.
>
>At some point I'd also like to remove the student's ID from the valid coupon
>database.
>
>1) how to check for the ID in the database of coupon allowed ID's
Try something similar to this:
[if data student::code::[value student_id]]
You have a listing in my student.asc which I defined in my catalog.cfg
that matches the value you entered into the student id field.
[else]
You've been expelled or you're too dumb to enter your id correctly.
[/else]
[/if]
>2) how to remove a record from a database using minivend.
I've seen this recently in the maillist... I don't know off hand.
>
>Thank you so very much for reading this,
>========================================
>Cory Trese
>email : digital@specialty-books.com
>phone : (740) 594 - 2274, ext 223
>phax : (740) 593 - 3045
>========================================
>Mail Sent from
>
>Specialty Books,
>Athens Ohio, 45701
>www.specialty-books.com
>
>RedHat Linux, Hedwig
>P][ / 2.3.5
>========================================
>-
>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
>
Ryan Hertz tel 520-645-3812
Webmaster tel 800-645-BAIT
Advertising Director fax 520-645-2588
Gary Yamamoto Custom Baits, Inc. http://www.yamamoto.baits.com