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:
Image maps/Webcat (1997)
re: keep W* in front applescript? (try Cron) (1998)
Delete Context - to remove record (1998)
ShoppingCart Woes (1998)
[WebDNA] Encrypt / Decrypt weirdness..... plus some date weirdness (2015)
Secure Server (1999)
[WebDNA] [returnraw] on different platforms. (2008)
View order not right (1997)
Re:Emailer and encryption (1997)
&fieldsdir=ra truely random?? (2000)
Which GUI HTML editors work with WC ? (1997)
Help! WebCat2 bug (1997)
Using [Include] Context (1999)
[math] show=F exists? (1997)
Online reference (1997)
Problems with SELECT MULTIPLE (1999)
[append] problem (1997)
OS X, Communigate Pro & Line Breaks (2003)
Serving images from databases (1998)
Bug or syntax error on my part? (1997)