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:

More on the email templates (1997)Practice runs ? (1997)Robert Minor duplicate mail (1997)Help! WebCat2 bug (1997)HELP - NONE STOP DIGESTS. Digest for 4/24/97) (1997)The Form authentication trick (2000)Feature request (1998)Using WC for Bulk Emailings (1997)WC2b15 - [HTMLx]...[/HTMLx] problems (1997)[WebDNA] Setting up a new server, hierarchy question (2014)Re:quit command on NT (1997)OS X Server & Uploads (2001)[WebDNA] Emerging from the Shell (was: unique words) (2009)can WC render sites out? (1997)Custom error files (1998)WebCatalog for Postcards ? (1997)WebCat editing, SiteGuard & SiteEdit (1997)FYI-WebCat Mac or NT (1997)creative use of webcatalog (1998)$Replace with [founditems] (1997)