Re: Price override

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 60051
interpreted = N
texte = Alan White wrote: > I 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? Nothing except that it is difficult to reconcile what the line items have and the actual total price charge later, because you are effectively lying to the system about what the sum should be. The longstanding recommendation has been to add additional line items with negative prices to the cart in order to affect the discounted price. Then use the normal grandtotal math to display the price after discount. One big advantage to this method is that you can easily display both the original price and the discounted price at any time in the transaction. This method is also good if you have coupons or other order level (as opposed to line level) discounts. If you search the archives, this topic has been discussed at length over the years. The one trick to it is to make sure that you delete and recreate all discount lines at the beginning of every page during your checkout. Otherwise, someone could order 1000 widgets to get the bulk discount price then change the quantity to 10 and still be paying the lower price. HTH John -- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4720 Boston Way Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5747 ------------------------------------------------------------- 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:

    
  1. Re: Price override ( Alan White 2004)
  2. Re: Price override - solved ( Daryl Mitchell 2004)
  3. Re: Price override - solved ( Stuart Tremain 2004)
  4. Re: Price override ( Donovan Brooke 2004)
  5. Re: Price override ( John Peacock 2004)
  6. Re: Price override ( Alan White 2004)
  7. Re: Price override - solved ( Donovan Brooke 2004)
  8. Re: Price override - solved ( Daryl Mitchell 2004)
  9. Re: Price override ( Donovan Brooke 2004)
  10. Re: Price override - solved ( Daryl Mitchell 2004)
  11. Re: Price override ( Daryl Mitchell 2004)
  12. Re: Price override ( Daryl Mitchell 2004)
  13. Re: Price override ( Donovan Brooke 2004)
  14. Re: Price override ( Alan White 2004)
  15. Re: Price override ( Stuart Tremain 2004)
  16. Re: Price override ( "Sal D'Anna" 2004)
  17. Re: Price override ( Donovan Brooke 2004)
  18. Price override ( Daryl Mitchell 2004)
Alan White wrote: > I 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? Nothing except that it is difficult to reconcile what the line items have and the actual total price charge later, because you are effectively lying to the system about what the sum should be. The longstanding recommendation has been to add additional line items with negative prices to the cart in order to affect the discounted price. Then use the normal grandtotal math to display the price after discount. One big advantage to this method is that you can easily display both the original price and the discounted price at any time in the transaction. This method is also good if you have coupons or other order level (as opposed to line level) discounts. If you search the archives, this topic has been discussed at length over the years. The one trick to it is to make sure that you delete and recreate all discount lines at the beginning of every page during your checkout. Otherwise, someone could order 1000 widgets to get the bulk discount price then change the quantity to 10 and still be paying the lower price. HTH John -- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4720 Boston Way Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5747 ------------------------------------------------------------- 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/ John Peacock

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) Bug Report, maybe (1997) Undeliverable Mail (1997) Out of the woodwork (2007) building / customizing stores (2000) Q: old cart serial problem (2000) WebCatalog NT beta 18 now available (1997) Running 2 two WebCatalog.acgi's (1996) newcart (1997) Custom Convertchars Database (2004) lookup (1998) WebCatalog 2.0 & WebDNA docs in HTML ... (1997) Running 2 two WebCatalog.acgi's (1996) [isfolder] and [filename] (1997) Multiple catalog databases and showcart (1997) & in Lookups (1997) TCP Connect over SSL? (2000) Search Context Strips URL chrs.? (1999) Textarea (1998) Getting total number of items ordered (1997)