Re: formula???
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 34799
interpreted = N
texte = formulas kick in right when the item is first added to the orderfile. So at thatmoment the quantity is still 1. Users don't get a chance to change the quantity untilafter the item is already a certified lineitem (thus the price is set unless you changeit properly with [SetLineItem]. Someone correct me if I am wrong... (there may beother ways... or not... it is passed my bedtime and I am not looking this stuff up).If you try to change the price of a lineitem after it has been added already, then youhave to use the password set in your webcat's prefs to be able to do it.BTW - In the tea room I have the quantity is input on the ShoppingCart.tpl page andpassed to Invoice.tpl, not the other way around... right?-JohnGlenn Busbin wrote:> >>Add command.> >>
>>HREF=ShoppingCart.tpl?command=add&cart=[cart]&db=mydatabase.db&sku=[> >>url][sku][/> >>url]>Add to your Shopping Cart> >> >I don't see you setting the quantity anywhere here. So it's always> >going to be 1.> >>> The value of [quantity] is entered into a form on the Invoice.tpl page and> passed to the Shoppingcart.tpl page where the value of [price] is, I hope,> determined by [quantity].>> [quantity] is correctly passed to the Shoppingcart.tpl.>> This is all based on the Tea Room example.>> Thanks,> Glenn>> -------------------------------------------------------------> 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/-------------------------------------------------------------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:
formulas kick in right when the item is first added to the orderfile. So at thatmoment the quantity is still 1. Users don't get a chance to change the quantity untilafter the item is already a certified lineitem (thus the price is set unless you changeit properly with [setlineitem]. Someone correct me if I am wrong... (there may beother ways... or not... it is passed my bedtime and I am not looking this stuff up).If you try to change the price of a lineitem after it has been added already, then youhave to use the password set in your webcat's prefs to be able to do it.BTW - In the tea room I have the quantity is input on the ShoppingCart.tpl page andpassed to Invoice.tpl, not the other way around... right?-JohnGlenn Busbin wrote:> >>Add command.> >> >>HREF=ShoppingCart.tpl?command=add&cart=[cart]&db=mydatabase.db&sku=[> >>url][sku][/> >>url]>Add to your Shopping Cart> >> >I don't see you setting the quantity anywhere here. So it's always> >going to be 1.> >>> The value of [quantity] is entered into a form on the Invoice.tpl page and> passed to the Shoppingcart.tpl page where the value of [price] is, I hope,> determined by [quantity].>> [quantity] is correctly passed to the Shoppingcart.tpl.>> This is all based on the Tea Room example.>> Thanks,> Glenn>> -------------------------------------------------------------> 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/-------------------------------------------------------------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 Butler
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:
GuestBook example (1997)
Help formatting search results w/ table (1997)
Zeroing out shipping costs (2000)
[WebDNA] Competitors! (2008)
nesting limits? (1998)
delete a file? (1998)
Size Limitation through a POST via SSL? (2005)
Ends With (2003)
Converting Aliases to Symbolic Links (2002)
Referrer (2000)
Searchable WebCat (etc.) Docs ? (1997)
WebCatalog + Linux + ODBC + Oracle ! ? (2000)
WebDNA Quick Reference (Reserved Words) (2000)
[REDIRECT url=http://isd.smithmicro.com/] into New Window? (2002)
Mozilla/4. and Browser Info.txt (1997)
different ship dates and shopping carts -- how to? (1997)
emailer w/F2 (1997)
Q: host name lookup (2000)
autocommit problem (1998)
Need relative path explanation (1997)