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:
OT-Load balance (2004)
Searching multiple Databases (1997)
File Uploads: WebCat/SiteEdit (1998)
emailer truncates last letter! (1997)
webcat/webmerchant docs (1997)
PCS Frames (1997)
process SSI (1998)
Interpret twice? (1997)
[WebDNA] [sendmail] inside a [founditems] loop ... please comment on parameters. (2009)
different show next (1997)
Best way to handle 404 errors with WebDNA and Web* V (2003)
Re:Emailer and encryption (1997)
[isfile] ? (1997)
Works! (1997)
[TaxableTotal] - not working with AOL and IE (1997)
[WebDNA] Problem with Trigers. (2013)
Unexpected error (1997)
[WebDNA] Issue with variable inside a Function (2018)
WebMerchant crashing and other WebMerchant problem (2000)
[TaxTotal] (1998)