Re: [price] maddness
This WebDNA talk-list message is from 2002
It keeps the original formatting.
numero = 43707
interpreted = N
texte = Do you mean you need to have the price change because of the adjustedquantities? Meaning that the price is the same, but the multiplier *quantity ordered needs to be changed and thus the subtotal adjustaccordingly? If so, I use this little ditty in my carts:
GK| Ok here is the deal. I know that [price] gets calculated when an item is| added to the shopping cart. I know that it gets the price from| formulas.db.|| In my shopping cart an item gets added and once is added then one can| update the quantities in shoppingcart.tpl.|| I use [showcart] to do this. The price of the product changes depending| on the quantity.|| I saw that there is price[lineindex] available, but it says it still| needs to get the price from the formulas.db.|| I am a bit confused now as to how to change the price once the product| has been added to the shopping cart.|| Help!!|| Art||| -------------------------------------------------------------| 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:
Do you mean you need to have the price change because of the adjustedquantities? Meaning that the price is the same, but the multiplier *quantity ordered needs to be changed and thus the subtotal adjustaccordingly? If so, I use this little ditty in my carts:GK| Ok here is the deal. I know that [price] gets calculated when an item is| added to the shopping cart. I know that it gets the price from| formulas.db.|| In my shopping cart an item gets added and once is added then one can| update the quantities in shoppingcart.tpl.|| I use [showcart] to do this. The price of the product changes depending| on the quantity.|| I saw that there is price[lineindex] available, but it says it still| needs to get the price from the formulas.db.|| I am a bit confused now as to how to change the price once the product| has been added to the shopping cart.|| Help!!|| Art||| -------------------------------------------------------------| 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/
Gary Krockover
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:
WebCat/PDF Integration Time Est (2000)
Bug: MySQL WebDNA 6 int bigint fail case (2004)
RE: protect tag not working (1998)
You can't buy something twice... (1997)
Re:quit command on NT (1997)
Tab Charactor (1997)
[searchString] (1997)
ShowCart (2001)
HELP WITH DATES (1997)
Where's Cart Created ? (1997)
creating a ShipCosts database (1997)
Emailer setup (1997)
PARAMETER vs. OPERATOR (was The BUG is BACK ...) (1998)
Nav4 not specifying cart (1997)
[WebDNA] Issues regarding static vs. dynamic pages (2011)
Snake Bites (1997)
need help with [sendmail] and [showif]s (1998)
Looking For WebCatalog Migration Assistance (2003)
FEW QUESTIONS (1997)
Where is f2? (1997)