[include] error message (was:Re: how to put/keep productcustomization info in basket?)

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 21206
interpreted = N
texte = Much better!However, something strange is happening with the [Include] I'm using to supply the customization forms;Although the browser shows the correct [include] file (an input form that changes depending on the SKU), when I view the page source I see: Error: template '/Globals/[Customize]' not foundThe form appears to be working fine, but the error message is worrisome, and the page layout seems to be affected as well.Here are the relevant snippets.
[Include file=/Globals/[Customize]&raw=F]
Please provide birth details! In the space below, please provide the following:
  1. Child's Full Name
  2. Mother's Full Name (Include Maiden Name)
  3. Father's Full Name
  4. Time and Date of Birth
  5. Hospital
  6. City and State of Hospital
  7. Physician
  8. Gender of Child
   Any thoughts?Regards,Dale> >TextA-E are provided for just this reason. Your problem is that you're >passing variables named Colors between pages, when the lineitems has no >such field name. Just ask for textA, textB, and textC once at the >beginning (the Add command), and don't touch or use them at all until you >need to display them at the end. There is no need to pass them from page >to page -- they're already stored permanently in the cart (per linitem) >when you Add them. > >Get rid of all that extra stuff in steps 2-3. > Associated Messages, from the most recent to the oldest:

    
Much better!However, something strange is happening with the [include] I'm using to supply the customization forms;Although the browser shows the correct [include] file (an input form that changes depending on the SKU), when I view the page source I see: Error: template '/Globals/[Customize]' not foundThe form appears to be working fine, but the error message is worrisome, and the page layout seems to be affected as well.Here are the relevant snippets.
[Include file=/Globals/[Customize]&raw=F]
[cart]> Please provide birth details! In the space below, please provide the following:
  1. Child's Full Name
  2. Mother's Full Name (Include Maiden Name)
  3. Father's Full Name
  4. Time and Date of Birth
  5. Hospital
  6. City and State of Hospital
  7. Physician
  8. Gender of Child
   Any thoughts?Regards,Dale> >TextA-E are provided for just this reason. Your problem is that you're >passing variables named Colors between pages, when the lineitems has no >such field name. Just ask for textA, textB, and textC once at the >beginning (the Add command), and don't touch or use them at all until you >need to display them at the end. There is no need to pass them from page >to page -- they're already stored permanently in the cart (per linitem) >when you Add them. > >Get rid of all that extra stuff in steps 2-3. > Dale Stokdyk

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:

Multiple download orders of the same product? (1997) [WebDNA] Spawn bombing out with ".db-oRiGiNaL-" (2017) two unique banners on one page (1997) Changing price for a SLU based on options (size, etc.) (1997) WebCat2: Formulas.db question (1997) [WebDNA] API Integration (2010) Requiring that certain fields be completed (1997) [click][/click] (1999) taxTotal, grandTotal (1997) Help! WebCat2 bug (1997) SOP for WebDNA talk - MSNBot Crashing (2004) Filemaker Pro Template for Orders (1999) OT: Way off-topic: Qmail and Linux (2003) Getting Rid of Multiple Returns (2001) Old $ commands and migration (2004) Monthly Reports (2000) [OT] Half completed orders (2005) New Web Site Developers Database (1996) FTP via Shell Question (2005) Location of Browser Info.txt file (1997)