Re2: frames & carts

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 10403
interpreted = N
texte = >When you view src again, that frame will have a different cart number. > >This is bad. What if someone has made a few additions to their cart and >then (for whatever reason) hit the reload button? They have to start all >over. You can see this same example at In that case, you need to set the cart before you go into the frame page. Change the link on your Enter button tohttp://www.webwrightinc.com/webcatalog/ddmall/prods.tmpl?CAT=ddcatalog.txt&cart=[cart]And make sure your ACTION is set up to do WebDNA substitutions on the entry page (probably add .HTML to the list of suffuxes that WebCatalog handles), and name your entry page index.htmlIf I thought this out properly, your view source on the master frame page will always show the same cart numbers every time you reload, because you entered that master page with a cart number already generated on the entry page. I think the problem in your current setup is that [cart] is not pre-set, so WebCatalog thinks it needs to make a new one every time it gets reloaded.Grant Hulbert, V.P. Engineering | Tools for WebWarriors Pacific Coast Software | WebCatalog, WebCommerce Solution 11770 Bernardo Plaza Court, #462 | SiteEdit, SiteCheck, PhotoMaster San Diego, CA 92128 | 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com ------------------------------------ To leave this talk list send an email to macjordomo@smithmicro.com with BODY unsubscribe WebDNA-Talk ------------------------------------ Associated Messages, from the most recent to the oldest:

    
  1. Re2: frames & carts (Grant Hulbert 1997)
  2. Re2: frames & carts (Grant Hulbert 1997)
  3. Re2: frames & carts (ben 1997)
>When you view src again, that frame will have a different cart number. > >This is bad. What if someone has made a few additions to their cart and >then (for whatever reason) hit the reload button? They have to start all >over. You can see this same example at In that case, you need to set the cart before you go into the frame page. Change the link on your Enter button tohttp://www.webwrightinc.com/webcatalog/ddmall/prods.tmpl?CAT=ddcatalog.txt&cart=[cart]And make sure your ACTION is set up to do WebDNA substitutions on the entry page (probably add .HTML to the list of suffuxes that WebCatalog handles), and name your entry page index.htmlIf I thought this out properly, your view source on the master frame page will always show the same cart numbers every time you reload, because you entered that master page with a cart number already generated on the entry page. I think the problem in your current setup is that [cart] is not pre-set, so WebCatalog thinks it needs to make a new one every time it gets reloaded.Grant Hulbert, V.P. Engineering | Tools for WebWarriors Pacific Coast Software | WebCatalog, WebCommerce Solution 11770 Bernardo Plaza Court, #462 | SiteEdit, SiteCheck, PhotoMaster San Diego, CA 92128 | 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com ------------------------------------ To leave this Talk List send an email to macjordomo@smithmicro.com with BODY unsubscribe WebDNA-Talk ------------------------------------ Grant Hulbert

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:

WebDNA + SQL Server (2003) variables in template (2000) Bug? (1997) Stay on Products page (2003) [purgeDatabase], [replaceChars] and others ... (1997) Code database (1998) Auto Submit (2000) weight based shipping cost questions (1997) method of payment (1997) [WebDNA] Data Type Bool (2009) PIXO support (1997) PCS search results page (1998) PCS Frames (1997) Multi vendor shop (2000) 2.0 Info (1997) Upgrading old WebCat Database Files (1997) WC2b12: Yes, Formulas.db is for real (1997) Out of the woodwork (2007) [URL] around a [sendmail] recipient? - SEARCHING: command vs. context (2000) Navigator 4.0 & tables (1997)