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:
WebCat2b12 CGI Mac - [shownext] problem (1997)
getting images' width/height (1998)
emailer and other smtp (1998)
Re(2): Problem about [CART] number (1998)
#uck you (1998)
bannerads (1998)
Word wrapping (1997)
[isfile] ? (1997)
Using Eudora instead of Emailer, and cron facility (1998)
Webmerchant email misinterpreted tags (1998)
Nested searches (1998)
Wrapping text (1998)
[WebDNA] Quick Date Question (2008)
Nested tags count question (1997)
Updating database (1998)
Search with Special Chars (1997)
[WebDNA] TLS 1.2 and [tcpconnect] URGENT (2018)
More on the email templates (1997)
WC2b15 File Corruption (1997)
WebCat2final1 crashes (1997)