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:
Couple of techno questions (1999)
wierd crashes for multi-sendmails on NT (1997)
New Mac Public Beta Available (1997)
Bit off subject -- Faxing orders (1997)
(1998)
Unknown error: OrderNotCreated (1997)
Using Cookie for client specific info? (1997)
Manual and Mime WebDNA 5 (2003)
Lets make a deal (2000)
Upgrading old WebCat Database Files (1997)
WCS Newbie question (1997)
Is there a way......... (2000)
[Announce]: Web server security and password protection (1997)
Exact word search - continued (1998)
Help needed! (1998)
forming a SKU (1999)
Replacing a Word (1999)
Help with Repost Data msg from form (1997)
keep W* in front applescript? (1998)
OT JavaScript question (1999)