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:
Authenticate (2000)
Store builder question (2003)
Re:Comments Convertion (1998)
PGP signed email on Unix/MacOSX (2000)
Access Denied! But why? (1997)
Carts & Refering URLs (1997)
Draft Manual, Tutorial, and more (1997)
WebCatalog 4 Install Problems (2000)
Emailer (1998)
MS Access data conversion (2001)
SSL (1998)
Getting total number of items ordered (1997)
search confusing me (2008)
Triggers under MacOSx (2003)
Listing parameters passed into a [function] (2003)
rn doesn't work on date fields (1998)
Exclamation point (1997)
SetHeader not Working (2006)
Multiple prices (1997)
The Best Shopping Cart Solution I Have Come Upon (2003)