Re2: frames & carts
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 10378
interpreted = N
texte = >>I have a page that utilizes frames. WC assigns a different cart # when >>you hit reload in the browser. Is there any way to make sure it assigns >>the same cart number?>>It's supposed to generate a different cart number when you reload a page >that doesn't explicitly set the cart...otherwise it would never assign a >new cart number to new visitors.OK.>>I am using the cart=[cart] command. Is this even necessary with WC2b12?>>You absolutely need to propagate the same cart using that technique once >you've given someone their first cart...but now with ACTIONs and Smart >Carts you don't need to explicitly send a $NewCart command -- when >WebCatalog sees a template with [cart] in it, and no cart=### in the >parameters, then it assumes you want a new cart. You can see this happen >in the GeneralStore example.>>Is your problem really with frames themselves? Perhaps each sub-frame is >getting a different cart # because you're not using
src=xx.tmpl?cart=[cart]> in the master frame container?Let me show you. Go to
Click the enter button. You will see a framed page.Click and hold down anywhere in the right hand frame and select new window with this frame.View document source and take a look at the cart #.Hit reload and the cart will stay the same.Now, close that window and go back to the original framed page.View frame source for that same frame & look at the cart #.Now hit reload. 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
Am I not doing something right?--BenWebWright, Inc. Make a Presence.(409) 268-3022------------------------------------To leave this talk list send an email to macjordomo@smithmicro.comwith BODYunsubscribe WebDNA-Talk------------------------------------
Associated Messages, from the most recent to the oldest:
>>I have a page that utilizes frames. WC assigns a different cart # when >>you hit reload in the browser. Is there any way to make sure it assigns >>the same cart number?>>It's supposed to generate a different cart number when you reload a page >that doesn't explicitly set the cart...otherwise it would never assign a >new cart number to new visitors.OK.>>I am using the cart=[cart] command. Is this even necessary with WC2b12?>>You absolutely need to propagate the same cart using that technique once >you've given someone their first cart...but now with ACTIONs and Smart >Carts you don't need to explicitly send a $NewCart command -- when >WebCatalog sees a template with [cart] in it, and no cart=### in the >parameters, then it assumes you want a new cart. You can see this happen >in the GeneralStore example.>>Is your problem really with frames themselves? Perhaps each sub-frame is >getting a different cart # because you're not using src=xx.tmpl?cart=[cart]> in the master frame container?Let me show you. Go to Click the enter button. You will see a framed page.Click and hold down anywhere in the right hand frame and select new window with this frame.View document source and take a look at the cart #.Hit reload and the cart will stay the same.Now, close that window and go back to the original framed page.View frame source for that same frame & look at the cart #.Now hit reload. 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 Am I not doing something right?--BenWebWright, Inc. Make a Presence.(409) 268-3022------------------------------------To leave this Talk List send an email to macjordomo@smithmicro.comwith BODYunsubscribe WebDNA-Talk------------------------------------
ben
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:
Multiple cart additions (1997)
Dreamweaver noedit ??? (2005)
Calendar using WebCatalog? (1997)
WebCatalog2 Feature Feedback (1996)
[sendmail] on NT? (1997)
Web Catalog vs. ICAT (1997)
Calendar (1997)
Three new problems, maybe a fourth (1997)
send mail problem? (1997)
WebCat for Site Search? (1997)
[WebDNA] Acceleratin Search / Index Performance in a Formum Service (2013)
[BULK] [WebDNA] How to code a 301 redirect (2009)
WebCat2b15MacPlugin - showing [math] (1997)
Listserver problem (1997)
Help with Shipping Costs (1997)
Error.html (1997)
off topic - dna snipets (1997)
More on the email templates (1997)
PCS search results page (1998)
New Installation (1998)