Re: [price] maddness
This WebDNA talk-list message is from 2002
It keeps the original formatting.
numero = 43705
interpreted = N
texte = Arturo Vargas wrote:> I am a bit confused now as to how to change the price once the product> has been added to the shopping cart.> Does the price for the item change if they increase/decrease the quantity? The reason I ask is that the cart stores the _unit_ price and the _quantity_ and uses that to calculate total for each line.If you really need to adjust the price after an item is added to the cart, you have to use the [setlineitem] context, with the password, to calculate it your self. OR, you can delete and readd the item out of the cart and let the formulas.db do the messy work for you.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://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Arturo Vargas wrote:> I am a bit confused now as to how to change the price once the product> has been added to the shopping cart.> Does the price for the item change if they increase/decrease the quantity? The reason I ask is that the cart stores the _unit_ price and the _quantity_ and uses that to calculate total for each line.If you really need to adjust the price after an item is added to the cart, you have to use the [setlineitem] context, with the password, to calculate it your self. OR, you can delete and readd the item out of the cart and let the formulas.db do the messy work for you.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://search.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:
Migrating to NT (1997)
2.1b3 --> way slow (1997)
Boolean showifs? (2000)
Sorting (1998)
WebCatalog 4.0.1 has been released! (2000)
Re:2.1 pricing? (1998)
webdna+post+WinIE6 (2004)
What file? (1997)
Bug Report, maybe (1997)
shownext in Another Users.db (2000)
WebCatalog security on NT (2000)
[SearchString] usage (1997)
problems with 2 tags shakur (1997)
WebCat2: Items xx to xx shown, etc. (1997)
Nested search index (2000)
Math function in Formula.db (1997)
[url] link (1998)
DB Field Name? (2000)
[WriteFile] problems (1997)
[WebDNA] WebDNA not running after 10.6.3 update (2010)