[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 tosupply the customization forms;Although the browser shows the correct [include] file (an input form thatchanges 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:
Child's Full Name
Mother's Full Name (Include Maiden Name)
Father's Full Name
Time and Date of Birth
Hospital
City and State of Hospital
Physician
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 tosupply the customization forms;Although the browser shows the correct [include] file (an input form thatchanges 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:
Child's Full Name
Mother's Full Name (Include Maiden Name)
Father's Full Name
Time and Date of Birth
Hospital
City and State of Hospital
Physician
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
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...