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.HTHJohn-- John PeacockDirector of Information Research and TechnologyRowman & Littlefield Publishing Group4720 Boston WayLanham, MD 20706301-459-3366 x.5010fax 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:
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.HTHJohn-- John PeacockDirector of Information Research and TechnologyRowman & Littlefield Publishing Group4720 Boston WayLanham, MD 20706301-459-3366 x.5010fax 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)