Re: [cart] not being interpreted inside [founditems]

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 14372
interpreted = N
texte = >> Oh, yeah, the other reason [Cart] might not show up is if you're using >>[include] files. The workaround is to specify the cart in the >> include paramaters like so: >> >> [include file=Includes/RandomAd.inc&cart=[cart]] > >This is the case but now the template says it can not locate the include >file. If I remove the &cart=[cart] from the include, the include file >functions. Any thoughts?Yes. You're probably not putting the parameters in with names properly.[include fred.inc] <-- works because there is only one parameter, and it's assumed to be the filename[include file=fred.inc&cart=[cart]] <-- works because there is more than 1 parameter, and they're both named properly file=xxx cart=yyy[include fred.inc&cart=[cart]] <-- *DOESN'T* work because when you don't name the file parameter, it thinks it should look for an include file named literally fred.inc&cart=cart. The error message you receive should tell you this.Any time you have more than 1 parameter, you *must* name them otherwise it gets confused.Grant Hulbert, V.P. Engineering | ==== eCommerce for the Rest of Us ==== Pacific Coast Software | WebCatalog, WebMerchant 11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster, San Diego, CA 92128 | Typhoon 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com Associated Messages, from the most recent to the oldest:

    
  1. Re: [cart] not being interpreted inside [founditems] (Nathan Hyde 1997)
  2. Re: [cart] not being interpreted inside [founditems] (Grant Hulbert 1997)
  3. Re: [cart] not being interpreted inside [founditems] (Kenneth Grome 1997)
  4. Re: [cart] not being interpreted inside [founditems] (Kenneth Grome 1997)
  5. Re: [cart] not being interpreted inside [founditems] (Nathan Hyde 1997)
  6. Re: [cart] not being interpreted inside [founditems] (Grant Hulbert 1997)
  7. Re: [cart] not being interpreted inside [founditems] (Grant Hulbert 1997)
  8. [cart] not being interpreted inside [founditems] (Nathan Hyde 1997)
>> Oh, yeah, the other reason [cart] might not show up is if you're using >>[include] files. The workaround is to specify the cart in the >> include paramaters like so: >> >> [include file=Includes/RandomAd.inc&cart=[cart]] > >This is the case but now the template says it can not locate the include >file. If I remove the &cart=[cart] from the include, the include file >functions. Any thoughts?Yes. You're probably not putting the parameters in with names properly.[include fred.inc] <-- works because there is only one parameter, and it's assumed to be the filename[include file=fred.inc&cart=[cart]] <-- works because there is more than 1 parameter, and they're both named properly file=xxx cart=yyy[include fred.inc&cart=[cart]] <-- *DOESN'T* work because when you don't name the file parameter, it thinks it should look for an include file named literally fred.inc&cart=cart. The error message you receive should tell you this.Any time you have more than 1 parameter, you *must* name them otherwise it gets confused.Grant Hulbert, V.P. Engineering | ==== eCommerce for the Rest of Us ==== Pacific Coast Software | WebCatalog, WebMerchant 11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster, San Diego, CA 92128 | Typhoon 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com Grant Hulbert

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:

[isfile] ? (1997) WebCat2b13MacPlugIn - syntax to convert date (1997) Many $WebCat.exe processes (1998) Restart of DBserver (1997) [include file=filename.inc&strip=t] (2002) [WebDNA] WebDNA future (2010) anyone moved to v6? (2004) Bug Report, maybe (1997) Nested vs conditional (1997) Online reference (1997) Bug? (1997) Setting up the server (1997) getchars broken? (1997) Duplicate Carts (2006) RE: ShowNext Command (1997) WebDNA hosting? ... (2004) Nested tags count question (1997) RE: Credit card processing - UK (1997) email code (1998) looping through the headers of an orderfile (2000)