Re: Empty Shopping Carts

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 20333
interpreted = N
texte = >Right you are. I am using the [add], [remove], and [showCart] commands >to reach the shoppingCart page, and so I was using [lineItems] without >an [orderFile] context. Adding [orderFile cart=[cart]]Don't add that [OrderFile] context in there...it's not needed because when you perform a command=ShowCart, WebCatalog *automatically* surrounds the entire page with an implied OrderFile context.So take that context back out and you should be OK, and the [numLineItems] will show up too.Technical Support | ==== eCommerce and Beyond ==== Pacific Coast Software | WebCatalog, WebMerchant, 11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster, San Diego, CA 92128 | Typhoon 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Empty Shopping Carts? (Rob Marquardt 1998)
  2. Re: Empty Shopping Carts (PCS Technical Support 1998)
  3. Re: Empty Shopping Carts (Brian Drum 1998)
  4. Re: Empty Shopping Carts? (Kenneth Grome 1998)
  5. Re: Empty Shopping Carts? (Grant Hulbert 1998)
  6. Re: Empty Shopping Carts? (Michael Winston 1998)
  7. Re: Empty Shopping Carts? (PCS Technical Support 1998)
  8. Empty Shopping Carts? (Brian Drum 1998)
>Right you are. I am using the [add], [remove], and [showCart] commands >to reach the shoppingCart page, and so I was using [lineitems] without >an [orderfile] context. Adding [orderFile cart=[cart]]Don't add that [orderfile] context in there...it's not needed because when you perform a command=ShowCart, WebCatalog *automatically* surrounds the entire page with an implied OrderFile context.So take that context back out and you should be OK, and the [numLineItems] will show up too.Technical Support | ==== eCommerce and Beyond ==== Pacific Coast Software | WebCatalog, WebMerchant, 11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster, San Diego, CA 92128 | Typhoon 619/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:

Sorting... stumped. (2006) WebTen and WebCat (1997) Frames (1997) Instructions for Digest (1997) Trigger: executes every N days (2001) Initiating NewCart (1997) multi-paragraph fields (1997) Date problems (1997) Problems problems problems (1997) WC Database Format (1997) GuestBook example (1997) Nested tags count question (1997) WebCat2: Items xx to xx shown, etc. (1997) Change to 5.0 per website licensing (2003) WebCat2: Master Counter snippet (1997) Country & Ship-to address & other fields ? (1997) [isfile] ? (1997) macosx 1 process, linux N processes, macosx chokes under load (2001) Dubble Sku's in a Database (1999) sorting dates (1999)