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 might not get automatic access to context variables -- you might need to pass them as parameters to the include -- see my earlier post... Jay Van Vark ******************************* Pacific Coast Software | eCommerce (WebCatalog) 11770 Bernardo Plaza Court | Site Hosting & Development Suite 453 | http://www.smithmicro.com San Diego, CA 92128 ******************************* 619.675.1106 Associated Messages, from the most recent to the oldest:

    
  1. Re: includes and cart numbers (Jay Van Vark 1997)
  2. Re: includes and cart numbers (Jay Van Vark 1997)
  3. RE: includes and cart numbers (Marc Eagle 1997)
  4. Re: includes and cart numbers (Josh Knauer 1997)
  5. Re: includes and cart numbers (Josh Knauer 1997)
  6. Re: includes and cart numbers (Grant Hulbert 1997)
  7. Re: includes and cart numbers (Kenneth Grome 1997)
  8. Re: includes and cart numbers (Kenneth Grome 1997)
  9. Re: includes and cart numbers (John Hill 1997)
  10. includes and cart numbers (Josh Knauer 1997)
>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 might not get automatic access to context variables -- you might need to pass them as parameters to the include -- see my earlier post... Jay Van Vark ******************************* Pacific Coast Software | eCommerce (WebCatalog) 11770 Bernardo Plaza Court | Site Hosting & Development Suite 453 | http://www.smithmicro.com San 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:

show all problem (1997) Appended records getting deleted (in BannerSleuth) (2000) Using WC for Bulk Emailings (1997) Error (1997) Who needs Yoda! (2002) [WebDNA] Security best practice (2009) WebCatalog and directory indexing (1998) [WebDNA] sum in a search (2009) international time (1997) programmer help needed (1998) Two submit buttons ? (1997) OT. Self explanatory (2003) Plugin vs. CGI (1998) WebDNA Build Area (linux) (2004) WCS Newbie question (1997) Calculating Shipping charges for multiple items andqtys > 1 (1997) IIS4b2 and WebCatalog b19 (1997) WebDNA 6 (2004) Newbie needs advice to learn to use WebDNA (2003) [OT] Happy Turkey Day! (2003)