Re: Empty Shopping Carts?
This WebDNA talk-list message is from 1998
It keeps the original formatting.
numero = 20258
interpreted = N
texte = > I have a Show Items link that uses the 'showcart' command to display>the contents of a customers shopping cart. I'd like to be able to show a>different set of text and tags in the event that the cart is empty. I>can't get a [hideif] or [showif] context to work, because none of the>cart variables are available outside of the [lineitems] context.There are actually quite a lot of tags available outside the [lineitems]context (but inside an [orderfile] context). Things like [name],[shiptoaddress], etc. The one you're looking for is called [numLineItems].Technical Support | ==== eCommerce and Beyond ====Pacific Coast Software | WebCatalog, WebMerchant,11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster,San Diego, CA 92128 | Typhoon619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/
Associated Messages, from the most recent to the oldest:
> I have a Show Items link that uses the 'showcart' command to display>the contents of a customers shopping cart. I'd like to be able to show a>different set of text and tags in the event that the cart is empty. I>can't get a
[hideif] or
[showif] context to work, because none of the>cart variables are available outside of the
[lineitems] context.There are actually quite a lot of tags available outside the
[lineitems]context (but inside an
[orderfile] context). Things like [name],[shiptoaddress], etc. The one you're looking for is called [numLineItems].Technical Support | ==== eCommerce and Beyond ====Pacific Coast Software | WebCatalog, WebMerchant,11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster,San Diego, CA 92128 | Typhoon619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/
PCS Technical 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:
Single Link browsing (1997)
orderfile stuff (1998)
Getting total number of items ordered (1997)
Only charge card when product shipped ? (1997)
change the number format (1997)
alternatives for WebDNA (2004)
Limit to variables passed on to next tpl? (1998)
Strange database format import (2000)
Replace context problem ... (1997)
Problems with [Applescript] (1997)
urls (2005)
Separate SSL Server (1997)
Fwd: virtual domain and [listfile] paths and aliases (1998)
[OT] MacOs IE5 topmargin and leftmargin bug (2000)
[WebDNA] Escaping content for JSON (2013)
Encyption mail was Suggestions for Topics ... (1998)
listfiles, moving files (1998)
Thanks and Big News!!! (1997)
R.I.P. Netscape (2003)
Number searching/formats (1998)