Re: [WebDNA] making a gift cert. (in effect) it's own lineitem/'product' with negative price - pros/cons?
This WebDNA talk-list message is from 2008
It keeps the original formatting.
numero = 100710
interpreted = N
texte = >Thanks Donovan,Yeah I remember that we have to keep the user from getting more than one gift cert., so this 'hassle' would be a 'con'. Do you remember any other pros/cons? I mean WHY all would you want to do it that way?...as opposed to just:- allowing user to input his gift code, which on the fly checks a giftcert.db if that gift cert exists/valid, and if so:- change the price of his product's lineitem(s) (according to the % off the gift cert gives)- On [purchase] set the gift cert to 'spent' in giftcert.db?I am just thinking out loud here, but I wanted to do that to also see how the more recent versions of webcat may or may not have influenced the pros/cons for doing gift certs one way or another.-Govinda>> Hi Govinda, I guess it would depend slightly on what you are starting> with. If this is a SiteBuilder type of site, or a site that is> using the Commerce tags of WebDNA (as it appears it maybe), yes, > personally, I> would probably use the negatively priced "Gift Certificate" lineitem > method.>> You have to "watch out" that you don't give the ability of the users> to add multiple negatively priced gift certs. ;-) This is done by> reassessing the entire cart every time the cart is affected in any> way.. removelineitem, deletelineitem, setlineitem etc...>> The "blank" Gift Cert product can be added to the cart at a price of> $0.00.>> Let us know more of the details if you have further questions... There> are lots of "busy" people here that will be able to help you through> the process if needed.>> Cheers,> Donovan>
Associated Messages, from the most recent to the oldest:
>Thanks Donovan,Yeah I remember that we have to keep the user from getting more than one gift cert., so this 'hassle' would be a 'con'. Do you remember any other pros/cons? I mean WHY all would you want to do it that way?...as opposed to just:- allowing user to input his gift code, which on the fly checks a giftcert.db if that gift cert exists/valid, and if so:- change the price of his product's lineitem(s) (according to the % off the gift cert gives)- On
[purchase] set the gift cert to 'spent' in giftcert.db?I am just thinking out loud here, but I wanted to do that to also see how the more recent versions of webcat may or may not have influenced the pros/cons for doing gift certs one way or another.-Govinda>> Hi Govinda, I guess it would depend slightly on what you are starting> with. If this is a SiteBuilder type of site, or a site that is> using the Commerce tags of WebDNA (as it appears it maybe), yes, > personally, I> would probably use the negatively priced "Gift Certificate" lineitem > method.>> You have to "watch out" that you don't give the ability of the users> to add multiple negatively priced gift certs. ;-) This is done by> reassessing the entire cart every time the cart is affected in any> way.. removelineitem, deletelineitem, setlineitem etc...>> The "blank" Gift Cert product can be added to the cart at a price of> $0.00.>> Let us know more of the details if you have further questions... There> are lots of "busy" people here that will be able to help you through> the process if needed.>> Cheers,> Donovan>
Govinda
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
New Web Site Developers Database (1996)
WebCat2b12 CGI Mac - [shownext] problem (1997)
Physical Security for WebCatalog Directories (1997)
Setting up shop (1997)
Generating Report Totals (1997)
Summary search -- speed (1997)
Javascript/WebCatalog form population (2001)
Email notification to one of multiple vendors ? (1997)
MORE: Can I determine where they are coming from? (2000)
Online CC Processing (2002)
Math Enhancement Request (2004)
credit card - Revised (1997)
Databases going to sleep (1998)
Opinion: [input] should be called [output] ... (1997)
[WebDNA] Need some PHP help (2009)
TeaRoom (2000)
Looking for WebCat developer/contractor (2000)
Netscape for MacOS X (2001)
Associative lookup style? + bit more (1997)
WebCat B13 Mac CGI -- Frames question (1997)