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:
Bug or syntax error on my part? (1997)
WebTen and WebCat (1997)
Field name-subcategory (1997)
Emailer file formats (1998)
Logging purchases (1997)
Unique SKU Numbers (2000)
Webten + Webcat running smooth (1998)
Running 2 two WebCatalog.acgi's (1996)
Bug Report, maybe (1997)
off topic - dna snipets (1997)
Calendar Program (2004)
HTML encoding in URLs (1997)
WebCat2.0 [format thousands .0f] no go (1997)
Giving out error pages (1997)
FW: I'll Know If You Don't Read This (2006)
Using Applescript to process WebCatalog functions (1998)
[date format] w/in sendmail (1997)
creating a ShipCosts database (1997)
Re:What file? (1997)
[WebDNA] Passing a text variable via copyfile (2019)