Re: Price override
This WebDNA talk-list message is from 2004
It keeps the original formatting.
numero = 60048
interpreted = N
texte = Hi DonovanI do see what you are saying but what is wrong with keeping my lineitems intact (pricewise) so that I can use different discounts depending on situation? I do realise that this is what the pricechange capability is for but I chose to do it like this seeing as I have to do a host of calculations / comparisons anyway, although I may add the change to lineitem etc if that is the best way to do it.There were a number of contributing factors on each lineitem that affected whether or not it was getting discounted and thus I kept an incremental discount total in order to apply my subtotal recalculation. I would argue that I haven't infact created a deceptive orderfile as all my products get discounted at the end of lineitems.Other reasons for me going down this route was that we are not plugged into a live gateway and process all orders in house and also that I have built a subtotal based discount before. I don't however follow what an orderfile tracking system is, can you elaborate a little as I am unclear as to how to answer the question of recalculating the discounts... have I not already done this?Anyway, I am still learning every day and open to suggestions so if I am truely barking up the wrong tree then I can make the necesarry adjustments but are we not skinning the same cat in multiple ways...? I welcome feedback on this before I go and go live though ;-)ThanksAlan
> The problem I have with altering the nonTaxableTotal when dealing with> individual discounts is that you are creating a deceptive orderfile. I > think> probably the biggest issue I run into as someone who works on existing> webdna sites is the improper use of the orderfile "philosophy".>> Now, I don't want to tell Alan that his code is wrong because it > probably works> fine in his situation. However, what if you build an orderfile > tracking system> later down the road. Would you then have to recalculate the discounts > to see the> dicounted price for each lineitem?>> My point is that I think the integrity of the orderfile is highly > underrated in> many cases. If you keep a solid orderfile, it makes building tracking > systems> and integrating with gateways much much easier down the road. I would > alter> the nonTaxableTotal upon subtotal based discounts but not lineitem > discounts.> The formulas.db and [setlineitem] are for lineitem discounts.> >> Donovan>-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list
.To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Hi DonovanI do see what you are saying but what is wrong with keeping my lineitems intact (pricewise) so that I can use different discounts depending on situation? I do realise that this is what the pricechange capability is for but I chose to do it like this seeing as I have to do a host of calculations / comparisons anyway, although I may add the change to lineitem etc if that is the best way to do it.There were a number of contributing factors on each lineitem that affected whether or not it was getting discounted and thus I kept an incremental discount total in order to apply my subtotal recalculation. I would argue that I haven't infact created a deceptive orderfile as all my products get discounted at the end of lineitems.Other reasons for me going down this route was that we are not plugged into a live gateway and process all orders in house and also that I have built a subtotal based discount before. I don't however follow what an orderfile tracking system is, can you elaborate a little as I am unclear as to how to answer the question of recalculating the discounts... have I not already done this?Anyway, I am still learning every day and open to suggestions so if I am truely barking up the wrong tree then I can make the necesarry adjustments but are we not skinning the same cat in multiple ways...? I welcome feedback on this before I go and go live though ;-)ThanksAlan > The problem I have with altering the nonTaxableTotal when dealing with> individual discounts is that you are creating a deceptive orderfile. I > think> probably the biggest issue I run into as someone who works on existing> webdna sites is the improper use of the orderfile "philosophy".>> Now, I don't want to tell Alan that his code is wrong because it > probably works> fine in his situation. However, what if you build an orderfile > tracking system> later down the road. Would you then have to recalculate the discounts > to see the> dicounted price for each lineitem?>> My point is that I think the integrity of the orderfile is highly > underrated in> many cases. If you keep a solid orderfile, it makes building tracking > systems> and integrating with gateways much much easier down the road. I would > alter> the nonTaxableTotal upon subtotal based discounts but not lineitem > discounts.> The formulas.db and [setlineitem] are for lineitem discounts.> >> Donovan>-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Alan White
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:
HELP WITH DATES (1997)
Draft Manual, Tutorial, and more (1997)
PIXO support (1997)
lookup command (1997)
Extended [ConvertChars] (1997)
Trouble with formula.db (1997)
Closing Databases (1998)
Summing fields (1997)
2.01 upgrade problems (1997)
help with duplicate records posted (1998)
Mac: [ListFiles] bug alert (1997)
WebCat2 - [format thousands] (1997)
Possible Bug in 2.0b15.acgi (1997)
Fun with Dates - any progress? (1997)
Follow-Up to: Removing [showif] makes a big difference in speed (1997)
Email Formatting and Encryption (1998)
anyone about? (2004)
Searching (1998)
WebCat2b13MacPlugIn - [include] (1997)
Summary layout (1997)