Re: includes and cart numbers
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 13496
interpreted = N
texte = At 10:21 AM -0800 9/17/97, Kenneth Grome wrote:>>Howdy folks->>>>We are using WebCatalog 2.0 on our site (www.go-organic.com) and are>>having some interesting problems...>>>>We utilize a server side include to build the left-hand navigation bar>>for our site. The included file contains $search calls so people can>>find all shirts or pants or whatever in our database. Here is an>>example:>>>>
>href=Results3.tmpl$search?eqTypedata=T-Shirts&SKUsort=1&max=20&db=Catalog.txt>>&>>cart=[cart]>All>>T-Shirts>>
>>>>Now, whenever people click on any of the items (like the one shown here),>>they get a NEW shopping cart number, as opposed to their existing number>>just being passed on. This is wreaking some serious havoc on our users,>>as their shopping cart keeps getting nuked.>>>>When a user clicks on a $search link on the right-hand side of the>>screen, which is hard coded into the page (no includes), the shopping>>cart number remains consistant.>>>>It would appear that the include is causing the problem. Has anyone else>>experienced this, and is there a solution? (beyond just hard-coding all>>of our pages)>>>Where are you assigning the original cart value? Is it being passed>to this page properly?>>Sincerely, Ken Grome>WebDNA Solutions>http://www.hui.net/dna/webdna.htmlOur include tag does not carry all of the context variables with it rightnow -- you should pass the [cart] as a parameter to the include .. ie[include file=banner.inc&cart=[cart]]We are thinking of making this [cart] special in the include --Jay Van Vark *******************************Pacific Coast Software | eCommerce (WebCatalog)11770 Bernardo Plaza Court | Site Hosting & DevelopmentSuite 453 | http://www.smithmicro.comSan Diego, CA 92128 *******************************619.675.1106
Associated Messages, from the most recent to the oldest:
At 10:21 AM -0800 9/17/97, Kenneth Grome wrote:>>Howdy folks->>>>We are using WebCatalog 2.0 on our site (www.go-organic.com) and are>>having some interesting problems...>>>>We utilize a server side include to build the left-hand navigation bar>>for our site. The included file contains $search calls so people can>>find all shirts or pants or whatever in our database. Here is an>>example:>>>>
>href=Results3.tmpl$search?eqTypedata=T-Shirts&SKUsort=1&max=20&db=Catalog.txt>>&>>cart=[cart]>
All>>T-Shirts>>
>>>>Now, whenever people click on any of the items (like the one shown here),>>they get a NEW shopping cart number, as opposed to their existing number>>just being passed on. This is wreaking some serious havoc on our users,>>as their shopping cart keeps getting nuked.>>>>When a user clicks on a $search link on the right-hand side of the>>screen, which is hard coded into the page (no includes), the shopping>>cart number remains consistant.>>>>It would appear that the include is causing the problem. Has anyone else>>experienced this, and is there a solution? (beyond just hard-coding all>>of our pages)>>>Where are you assigning the original cart value? Is it being passed>to this page properly?>>Sincerely, Ken Grome>WebDNA Solutions>http://www.hui.net/dna/webdna.htmlOur include tag does not carry all of the context variables with it rightnow -- you should pass the
[cart] as a parameter to the include .. ie[include file=banner.inc&cart=
[cart]]We are thinking of making this
[cart] special in the include --Jay Van Vark *******************************Pacific Coast Software | eCommerce (WebCatalog)11770 Bernardo Plaza Court | Site Hosting & DevelopmentSuite 453 | http://www.smithmicro.comSan Diego, CA 92128 *******************************619.675.1106
Jay Van Vark
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:
I am dumb. No see [variable] (2003)
[WebDNA] plupload ? (2012)
Location of Browser Info.txt file (1997)
WebCat2b13MacPlugIn - [include] doesn't allow creator (1997)
Scoping rules in WebDNA 4.0 (2000)
Comments in db? (1997)
rename a file (1997)
Question on the sandbox (2003)
[WebDNA] XML parsing issue with cdata (2012)
California Tax Rates (1998)
docs for WebCatalog2 (1997)
Limiting user access to .tmpl files (1997)
Item options w/ price adjustment (1997)
Applescript, WebDNA, and PDF (1997)
Re:HELP - NONE STOP DIGESTS. Digest for 4/24/97) (1997)
Sku numbers (1997)
Multiple catalog databases and showcart (1997)
[UPPERCASE] (1997)
Cart Numbers (1997)
WebCat2b13MacPlugIn - [shownext method=post] ??? (1997)