Re: showcart context?
This WebDNA talk-list message is from 1998
It keeps the original formatting.
numero = 21483
interpreted = N
texte = On 12/3/1998 3:43 am, Michael Scott Davis so noted...>I'm trying to show the [NumLineItems] of the user's cart from within a >page that is not called by a showcart command. Is there not a>showcart context? If not, how might I show how many items are in the >user's cart, along with the subtotal, in a page that isn't>called with a showcart command?The context you're looking for is [orderfile]. I think it's the only tag where the command name is completely different from the corresponding context name (well, [orderfile] only displays and showcart can display and modify, but they both use the same variables). I had the exact same problem when first setting up a context-based site.Rob MarquardtDesigner/Resident WireheadToast Design300 First Avenue North, Suite 150Minneapolis MN 55401612.330.9863 v612.321.9424 fwww.toastdesign.com
Associated Messages, from the most recent to the oldest:
On 12/3/1998 3:43 am, Michael Scott Davis so noted...>I'm trying to show the [NumLineItems] of the user's cart from within a >page that is not called by a showcart command. Is there not a>showcart context? If not, how might I show how many items are in the >user's cart, along with the subtotal, in a page that isn't>called with a showcart command?The context you're looking for is
[orderfile]. I think it's the only tag where the command name is completely different from the corresponding context name (well,
[orderfile] only displays and showcart can display and modify, but they both use the same variables). I had the exact same problem when first setting up a context-based site.Rob MarquardtDesigner/Resident WireheadToast Design300 First Avenue North, Suite 150Minneapolis MN 55401612.330.9863 v612.321.9424 fwww.toastdesign.com
Rob Marquardt
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:
Public beta 2 for WebCatalog 4.0 is now available. (2000)
webten vs. webstar (1998)
Problems adding stuff to the shopping cart. (1997)
WebCat2b12 - nesting [tags] (1997)
getting images' width/height (1998)
New York City sales tax database needed (1997)
normal users.db calls ... (1998)
Search inside Include (1998)
MORE: Can I determine where they are coming from? (2000)
OT: SMSI stock (2003)
PHP vs WebDNA question --calling all php gurus (2004)
Organisation website (2005)
WebCat2 - [format thousands] (1997)
Math (1997)
b12 cannot limit records returned and more. (1997)
Webcat XML/XSLT Performance vs. static Html (2006)
WebCat2 - [format thousands] (1997)
Append File help needed (2000)
WebCat editing, SiteGuard & SiteEdit (1997)
PCS Frames (1997)