Re: includes and cart numbers
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 13497
interpreted = N
texte = >On Wed, 17 Sep 1997, Kenneth Grome wrote:>>> Where are you assigning the original cart value? Is it being passed>> to this page properly?>>>> Sincerely, Ken Grome>>The original cart value is assigned as they enter the storefront with the>$newcart variable on the html file. I have fixed the problem, without>really understanding why it happens... here's how:>>I hard-coded all of the WebDNA commands onto every page (thankfully I>have Frontier to do a mass search and replace), thus moving all WebDNA>tags out of the includes.>>My guess is that because the include loads the [cart] variable as the>page is loading, it is not capable of understanding the fact that the>[cart] variable has been passed to it. I think I've discovered a new>rule of thumb with WebCatalog... you can't put WebDNA tags in an include>file. If anyone else knows otherwise, please let me know.>>>Josh Knauer>Executive Director>The EnviroLink Network>http://www.envirolink.org>Phone: (412) 683-6400>Fax: (412) 683-8460You can put anything into an include - all of the WebDNA tags -- you mightnot get automatic access to context variables -- you might need to passthem as parameters to the include -- see my earlier post...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:
>On Wed, 17 Sep 1997, Kenneth Grome wrote:>>> Where are you assigning the original cart value? Is it being passed>> to this page properly?>>>> Sincerely, Ken Grome>>The original cart value is assigned as they enter the storefront with the>$newcart variable on the html file. I have fixed the problem, without>really understanding why it happens... here's how:>>I hard-coded all of the WebDNA commands onto every page (thankfully I>have Frontier to do a mass search and replace), thus moving all WebDNA>tags out of the includes.>>My guess is that because the include loads the
[cart] variable as the>page is loading, it is not capable of understanding the fact that the>
[cart] variable has been passed to it. I think I've discovered a new>rule of thumb with WebCatalog... you can't put WebDNA tags in an include>file. If anyone else knows otherwise, please let me know.>>>Josh Knauer>Executive Director>The EnviroLink Network>http://www.envirolink.org>Phone: (412) 683-6400>Fax: (412) 683-8460You can put anything into an include - all of the WebDNA tags -- you mightnot get automatic access to context variables -- you might need to passthem as parameters to the include -- see my earlier post...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:
Trouble with formula.db (1997)
XML Parse with XML WebDNA Syntax... (2004)
Help formatting search results w/ table (1997)
Summary search -- speed (1997)
question: back button prevention (1997)
Upgrade on MacOSX 3.05 to 3.08 (2000)
Discounts: Buy One, Get One =?ISO-8859-1?Q?99=A2?= (2004)
[WebDNA] timestamp conversion (2011)
totals (1997)
WebCat2 several catalogs? (1997)
NetSplat and WebCat2 (1997)
UPPERCASE (1997)
international time (1997)
WebCat2b13MacPlugin - [math][date][/math] problem (1997)
New Weird Behavior (bug report) (2000)
[ShowIf] and empty fields (1997)
[OT] Appropriate Signature??? (2003)
Instructions for Digest (1997)
Emailer problems solved (1997)
Problems getting parameters passed into email. (1997)