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:
no global [username] or [password] displayed ... (1997)
Error Lob.db records error message not name (1997)
PCS Frames (1997)
no [search] with NT (1997)
price carry over (1997)
Wierd problem with 3.08 WIN Version (2000)
Encrypt question. (2000)
RE: E-mailer error codes (1997)
Execute Applescript (1997)
database size? (1997)
Database not found in Include (2002)
Forms (1998)
Thanks for tips, more quest (1997)
[WebDNA] Off topic: ImageMagick (2008)
Changing the value assigned to a formvariable (2000)
Help formatting search results w/ table (1997)
WebCatalog2 Feature Feedback (1996)
[listfiles] nested in a [loop] (1998)
[WebDNA] XML Help please (2009)
[Webcat 2]Next (1997)