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:
Format question WC Mac f3 (1997)
Formatting dates stored in db (2003)
WebCat 2.1beta etc (1997)
Re:quit command on NT (1997)
Can [formvariables] do this? (2000)
Re1000001: Setting up shop (1997)
Plugin or CGI or both (1997)
Secure Web Server (1999)
Searching multiple fields (1997)
[WebDNA] Rack Mount Server(s) Available (2009)
shipcost (1997)
WebCat2b13MacPlugIn - [showif][search][/showif] (1997)
Emailer Error 550 (Was Strange Crash) (1998)
[WebDNA] php/mySQL version of WebDNA Speed Test? (2009)
NT version (1997)
[OT] Looking for WC web dev help (2003)
Secure server question (1997)
seeminly simple... but beyond my grasp :) (2000)
WebCat2 - many [carts] on one template page? (1997)
[protect admin] (1997)