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:
WebCommerce: Folder organization ? (1997)
suffix mapping for NT? (1997)
Firesite and WebCat (1999)
IE Cache Problems... (1999)
How do I get multiple unique numbers on one template? (2000)
WebCatalog Affiliates Program ... (2000)
Hyperlink in email (2002)
A question on sub-categories (1997)
[FileInfo] (1998)
Num Sort Descending (OT) (2004)
Email notification to one of multiple vendors ? (1997)
WebCatalog on Windows 98 (2000)
Text data with spaces in them... (1997)
WebCatalog & Mac OS X (client) vs. Redhat Linux (2001)
Multiple instances of database (2003)
OT: Javascript Form Validation (2002)
Add a field to the error log? (1997)
Lookups (2000)
[WebDNA] Pages dying (2008)
Still no word on my problems. . . (2000)