Re: [ShowCart]-- was ThankYou page problems

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 14521
interpreted = N
texte = >Thanks, Ken, but I don't think the problem is w/ passing the [cart]. I'm >wondering if I'm causing problems with the $ShowCart command by the way >I've formatted the Shoppping Basket page. To recap: > >* When viewing the ThankYou page source info, I'm getting the error >message Error: the 'showcart' command requires that you specify a >cart The page looks fine!!! But using View:Page Source while >debugging I noticed the error message. (After checking, found I also get >that message on my Invoice.tmpl page as well) > >* My use of [ShowCart] is very close to the General Store version. >Here's my verson: > > > >
[issecureclient]=T]s[/showif]://192.0.1.2/GiftStore/GiftInvoice.tmpl$showcart> > > > > > > [lineItems] > > > >* The major difference that I can see is that I began the form inside of >a , for formatting reasons --that's why I'm showing the s. >Also, the submit button is in another table at the bottom of the >page..again for page layout reasons. > >So, am I committing a major faux pas with forms and tables???I don't think it's the tables, but it might be. You can test it by working on a copy of your templates and simply remove *all* the table stuff. Don't worry about what it looks like right now, just get rid of all the table stuff and see if that makes a difference.If you grab the newest beta, you may also want to try the following, it's the new cross-platform syntax that works on the Mac as well as the NT version in the new beta. I don't think this is the problem but the new beta has a couple of useful new features you might want to play with anyways. remember, this won't work on a Mac with the current 2.0.1 release, you need the new beta for this: Sincerely, Ken Grome WebDNA Solutions http://www.smithmicro.com/webdnasolutions/. Associated Messages, from the most recent to the oldest:

    
  1. Re: [ShowCart]-- was ThankYou page problems (Kenneth Grome 1997)
  2. [ShowCart]-- was ThankYou page problems (Dale Stokdyk 1997)
>Thanks, Ken, but I don't think the problem is w/ passing the [cart]. I'm >wondering if I'm causing problems with the $ShowCart command by the way >I've formatted the Shoppping Basket page. To recap: > >* When viewing the ThankYou page source info, I'm getting the error >message Error: the 'showcart' command requires that you specify a >cart The page looks fine!!! But using View:Page Source while >debugging I noticed the error message. (After checking, found I also get >that message on my Invoice.tmpl page as well) > >* My use of [ShowCart] is very close to the General Store version. >Here's my verson: > > > > [issecureclient]=T]s[/showif]://192.0.1.2/GiftStore/GiftInvoice.tmpl$showcart> > > [cart]> > > > > [lineitems] > > > >* The major difference that I can see is that I began the form inside of >a , for formatting reasons --that's why I'm showing the s. >Also, the submit button is in another table at the bottom of the >page..again for page layout reasons. > >So, am I committing a major faux pas with forms and tables???I don't think it's the tables, but it might be. You can test it by working on a copy of your templates and simply remove *all* the table stuff. Don't worry about what it looks like right now, just get rid of all the table stuff and see if that makes a difference.If you grab the newest beta, you may also want to try the following, it's the new cross-platform syntax that works on the Mac as well as the NT version in the new beta. I don't think this is the problem but the new beta has a couple of useful new features you might want to play with anyways. remember, this won't work on a Mac with the current 2.0.1 release, you need the new beta for this: [cart]> Sincerely, Ken Grome WebDNA Solutions http://www.smithmicro.com/webdnasolutions/. Kenneth Grome

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:

WebCat2b13MacPlugIn - more [date] problems (1997)Almost a there but..bye bye NetCloak (1997)Shopping Cart Problems (2000)[WebDNA] Cicada (2009)More Shopping Cart Problems (2000) nude virgin confusion?? (2004)[protect] (2000)Loosing Quantity (2000)Detecting the screen size (2003)taxRate and grandTotal calculation is not showing up on myThankYou.tpl (2000)Email notification to one of multiple vendors ? (1997)Beta 18 (1997)flushdatabases (1997)Emailer Problem (1998)Searching multiple Databases (1997)WC2b15 - [HTMLx]...[/HTMLx] problems (1997)WebCat2.0 [format thousands .0f] no go (1997)Snake Bites (1997)Deleting associated records from 2 different databases (2001)WebCatalog Help (2002)