Re: numlineitems possible cache problem.
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 33838
interpreted = N
texte = >In a page I'm working on I have a simple sentence on the results page and the>shoppingcart page that reads 2 Items in The Cart. 2 actually >being the number of items>in the cart file retreived from the following:>>[orderfile cart=[cart]][numlineitems][/orderfile]>>This works great on both pages except for one instance... When I add >an item to the cart>the [numlineitems] displays 1 less than is actually in the cart.If you're using command=Add to add items to the cart, then the entire page is already wrapped inside an OrderFile context (by virtue of the command=Add, same for command=ShowCart, command=Purchase, command=Remove)Try removing the [OrderFile] wrapper and just use [numlineitems]Technical Support **********************************Smith Micro, Internet Solutions Div | eCommerce (WebCatalog)16855 West Bernardo Drive, #380 | -------------------------San Diego, CA 92127 | Software & Site DevelopmentWebCatalog Support: (858) 675-0632 | http://www.smithmicro.com Fax: (858) 675-0372 **********************************-------------------------------------------------------------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:
>In a page I'm working on I have a simple sentence on the results page and the>shoppingcart page that reads 2 Items in The Cart. 2 actually >being the number of items>in the cart file retreived from the following:>>[orderfile cart=[cart]][numlineitems][/orderfile]>>This works great on both pages except for one instance... When I add >an item to the cart>the [numlineitems] displays 1 less than is actually in the cart.If you're using command=Add to add items to the cart, then the entire page is already wrapped inside an OrderFile context (by virtue of the command=Add, same for command=ShowCart, command=Purchase, command=Remove)Try removing the [orderfile] wrapper and just use [numlineitems]Technical Support **********************************Smith Micro, Internet Solutions Div | eCommerce (WebCatalog)16855 West Bernardo Drive, #380 | -------------------------San Diego, CA 92127 | Software & Site DevelopmentWebCatalog Support: (858) 675-0632 | http://www.smithmicro.com Fax: (858) 675-0372 **********************************-------------------------------------------------------------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/
WebDNA Support
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:
update on wn searching (1997)
PIXO (1997)
searchable list archive (1997)
WebCat2 Append problem (B14Macacgi) (1997)
Share cost of training videos! (1998)
[SHOWIF]s and empty arguments (1997)
Using Applescript to process WebCatalog functions (1998)
[OT] See QT? (Was Eaaaasy FTP...) (2003)
Cold Fusion Buster (1997)
webcat- multiple selection in input field (1997)
(1998)
Checkboxes (1998)
Been meaning to ask... (1997)
Hierarchy of form/text/math variables (2000)
PLEASE REMOVE MY EMAIL ADDRESS (1997)
Uploading out of FMP (2001)
Notepad problems - SOLVED! (1998)
Trouble with adding multiple items to cart (1999)
Listserver problem (1997)
WebCat editing, SiteGuard WAS:SiteAssociative lookup style? (1997)