Re: frames & carts
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 10369
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.>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
in the master frame container?--Grant Hulbert, connected via Etheric-Net from behind Hale-Bopp(At least that's what I told Mom when I told her we were going on 'vacation')------------------------------------To leave this talk list send an email tomacjordomo@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.>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
[cart]> in the master frame container?--Grant Hulbert, connected via Etheric-Net from behind Hale-Bopp(At least that's what I told Mom when I told her we were going on 'vacation')------------------------------------To leave this
Talk List send an email tomacjordomo@smithmicro.comwith BODYunsubscribe 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:
pop up menu's (1998)
2.0 Info (1997)
Removing a character (2000)
syntax question, not in online refernce (1997)
[TaxableTotal] - not working with AOL and IE (1997)
Using [Showif] tag. Mac (1997)
Mac Vs WindowsNT (1997)
using cookies to prevent access (2000)
special commerce fields (1997)
Upgrade to wsV (2004)
WebCatalog f2 Installation (1997)
Question About XML Style Syntax (2000)
Formating found categories (1997)
Talk List Suggestions (1997)
Can't load tmpl files (1997)
[WebDNA] BOOTSTRAP and WebDNA (2017)
WebDNA maxing out processor (2008)
Running _every_ page through WebCat-error.html (1997)
Can this be done? (1997)
emailer (1997)