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:
RE: WebCat name recognition (was MacFinder -- a new WebDNAweb (1998)
Unusual characters in the db ... (2002)
Re:listfiles-looking for slick solution (1997)
Multiple Ad databases? (1997)
New Webcatalog for Mac (1997)
Re:Dumb Question about Docs (1997)
math on date? (1997)
Help! WebCat2 bug (1997)
NetSplat and WebCat2 (1997)
drop down list (2000)
WebCat2b13MacPlugIn - [showif][search][/showif] (1997)
Updating a database once per day - An example (1998)
WebCat2b13MacPlugin - [math][date][/math] problem (1997)
WebCat2b13MacPlugIn - [include] doesn't allow creator (1997)
Search/sort in URL Was: GuestBook example (1997)
Re:Change WebDNA-Talk Mail due to no digest for 1wk (1997)
[Webcat 2]Next (1997)
SmithMicro FTP problems (2002)
on/off values (2000)
[fileinfo . . .] (2000)