Re: [subtotal] and others
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 12413
interpreted = N
texte = >To get the total of items in my cart?To get the number of lineitems in your cart, you can use [NumLineItems]. To get the total number of products (regardless of what they are, just a total of all the quantities), then you can add them up in [math] like so:[lineitems][/lineitems]Here's the total: [math]totalQuantity[/math]Grant Hulbert, V.P. Engineering | ===== Tools for WebWarriors =====Pacific Coast Software | WebCatalog Pro, WebCommerce Solution11770 Bernardo Plaza Court | SiteEdit Pro, SiteCheck, PhotoMasterSan Diego, CA 92128 | SiteGuard619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com
Associated Messages, from the most recent to the oldest:
>To get the total of items in my cart?To get the number of lineitems in your cart, you can use [NumLineItems]. To get the total number of products (regardless of what they are, just a total of all the quantities), then you can add them up in
[math] like so:
[lineitems][/lineitems]Here's the total:
[math]totalQuantity[/math]Grant Hulbert, V.P. Engineering | ===== Tools for WebWarriors =====Pacific Coast Software | WebCatalog Pro, WebCommerce Solution11770 Bernardo Plaza Court | SiteEdit Pro, SiteCheck, PhotoMasterSan Diego, CA 92128 | SiteGuard619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com
Grant Hulbert
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:
To use GREP to boldface text (2003)
problems with 2 tags (1997)
AE aware WebCatalog.acgi? (1997)
About WebDNA (2006)
Nested vs conditional (1997)
WebCat2 beta 11 - new prefs ... (1997)
taxrate (1999)
transferring values (1998)
Removing carriage returns and line feeds (2006)
Scope of variables in multi include files (2000)
Summing fields (1997)
FYI: virus alert (1996)
WebCat and WebTV (1997)
emailer (1998)
WebCat2 several catalogs? (1997)
Converting a Magazine to a Web Site with WebCat (1999)
Associative lookup style? + bit more (1997)
Hosting (2000)
[WebDNA] WebDNA autosuggest (2010)
Unexpected error (1997)