MiniVend Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

RE: Coupons - solution



In my systems I wanted to track invoices generated on a third party accounting package in order to allow "members" the ability to select individual invoices to make payment on.  I did this by making a category: "MEMBER-" with thier member ID concatonated to the end  For all members that had open invoices.  After an individual logs in, I put buttons on the left hand side that are just for members.  One of these is called "OWED" which, when clicked, will produce the list of member specific invoices by looking for category "MEMBER-"+memberid.  I call it MEMBER instead of overdue or lamo because MEMBER is what will actually be printed on the screen as the category name.  Its a bit tamer than seeing OWED and your member ID.  THis is the exact code:


[set srch_profile]
mv_search_field=category
mv_orsearch=yes
mv_last
[/set]

[if session logged_in]
[then]
  <TR><TD VALIGN=top [var BTNBG] ALIGN=right width=100%>
         <A HREF="/cgi-bin/simple.exe/scan/mp=0/se=MEMBER-[data session username]/tf=category">
        <FONT SIZE=2 FACE=ARIAL,HELVETICA style="text-decoration: none" COLOR="[var BTNTEXT]">
        <B>owed&nbsp;</FONT>[/page]<BR></TD></TR>

For a coupon, I would do basically the same thing, except that I would tie it to the inventory database so that you could track "COUPON"+memberID and decrement the inventory count by one whenever it is used.  Also, set the price to a non-zero, negative number of the amount you are discounting.  Then, write a routine that will hide the "COUPON" button for all members, except those that have a coupon with an inventory amount greater than zero.  Lastly, remember to give it the right name.  A coupon is given away, while a gift certificate is purchased.  It sounds like this might be a gift-certificate. 


vandy

PS.  NOw, would someone please answer my question about how to use the BLAT program?  I've configured the sendMailProgram in the catalog.cfg of my sites to the following, none of which work although the binary executable location is c:/blat/blat.exe.  I do not have PGP set up as the sites do not do any electronic billing via the internet. 

the following will not work
/blat/blat.exe
c:/blat/blat.exe

I've even tried putting the binary into the cgi bin, using the following pathings:
/cgi-bin/blat.exe
c:/inetpub/wwwroot/mall/cgi-bin/blat.exe

All of the above result in the following error:
configuring catalog yada...yada config error
syntax error in line 1239 of configuration file 'catalog.cfg'
c:/blat/blat.exe

Please help?  Pretty please?  With sugar on top?  Maybe a cherry?  Or a grape even?  I gave up some good code too! 

-----Original Message-----
From: .cory.trese. [mailto:digital@arcane.specialty-books.com]
Sent: Monday, June 21, 1999 3:02 PM
To: Minivend List!
Subject: Coupons


******    message to minivend-users from ".cory.trese." <digital@arcane.specialty-books.com>     ******

List :

Has anyone implimented a coupon system using minivend.  I have a customer that
would like to give out 100 coupons of $25.  They would like the use of the
coupon to be able to use it only once and have $25 deducted from their order
(obviously ;)

Is this possible?  Has anyone any ideas?


--
========================================
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


Search for: Match: Format: Sort by: