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:
[OT] iFrame (body) Q (2004)
db (2003)
[WebDNA] How to code a 301 redirect (2008)
url value (2002)
SiteEdit Pro Update Announcement (1997)
[input] [/input] (1997)
Email notification to one of multiple vendors ? (1997)
Banner DNA (1997)
[Announce]: Web server security and password protection (1997)
Nesting FoundItem Context (1997)
WebCat and PIXO (2000)
WebCat2 - Getting to the browser's username/password data (1997)
[WebDNA] [PROTECT] - Log Out (2011)
runtime (2000)
WebCatalog can't find database (1997)
[lookup] is case-sensitive, [lookup] is case sensitive... (2003)
Gil's in the lead (1999)
[WebDNA] Send Mail and Outlook Express (2008)
Browser based content... (2004)
New public beta available (1997)