Re: [cart] tag

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 28652
interpreted = N
texte = Repost: When I add the &cart=[cart] to URL 1). That works fine, but when I add &cart=[cart] to link 2) to carry cart number forward to photo gallery the browser can't find it. Plus I can't get the index.htm to show [cart] tag to see cart #. The allowed template extensions are .tmpl .tpl .dna .html, I added .htm to see if that would show the index.htm file but no success. Any suggestions? Thanks for your input. > 1)http://domain/webcatalog/store/Search.tpl?command=search&geSKUdata=0&db=st > ore.db&Categorysumm=t&Categorysort=1&Categorysdir=as&max=50 > > on Search.tpl page above I added a link to it which goes to: > > 2)http://domain/webcatalog/store/Storeroomimages/PhotoGallary/EPG/index.htm > > now I'm at the photogallary index.htm page, now I want to add a link to go > back to the first 1) URL above and also keep my cart number but when I use > this for a link HREF=../../../Search.tpl?cart=[cart]>Home its still > not complete, what else do I need to add to it? > > Thanks Lee =) > You didn't pass the cart number to the photogallery page in the first place... so when you then used- HREF=../../../Search.tpl?cart=[cart]>Home on the photogallery page the cart number will be a new fresh number instead if the cart you intended to maintain. You have to pass the cart EVERYWHERE - wherever the links and forms go... (unless you use cookies or some other method to keep track of that session ID) SO the link #1 as you show below should be - 1) http://domain/webcatalog/store/Search.tpl?command=search&geSKUdata=0&db=st ore.db&Categorysumm=t&Categorysort=1&Categorysdir=as&max=50&cart=[cart]and link#2 should be- 2)http://domain/webcatalog/store/Storeroomimages/PhotoGallary/EPG/index.htm& cart=[cart]-JohnLee Selvog wrote:> on 3/5/00 10:01 AM, Bryan M. Baer at bbaer@3ip.net wrote: > > > link >------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Associated Messages, from the most recent to the oldest:

    
  1. Re: [cart] tag (Lee Selvog 2000)
  2. Re: [cart] tag (John Butler 2000)
  3. Re: [cart] tag (Paul Willis 2000)
  4. Re: [cart] tag (Lee Selvog 2000)
  5. Re: [cart] tag (Lee Selvog 2000)
  6. Re: [cart] tag (Jesse Williams Proudman 2000)
  7. Re: [cart] tag (Lee Selvog 2000)
  8. Re: [cart] tag (John Butler 2000)
  9. Re: [cart] tag (Lee Selvog 2000)
  10. Re: [cart] tag (Bryan M. Baer 2000)
  11. [cart] tag (Lee Selvog 2000)
Repost: When I add the &cart=[cart] to URL 1). That works fine, but when I add &cart=[cart] to link 2) to carry cart number forward to photo gallery the browser can't find it. Plus I can't get the index.htm to show [cart] tag to see cart #. The allowed template extensions are .tmpl .tpl .dna .html, I added .htm to see if that would show the index.htm file but no success. Any suggestions? Thanks for your input. > 1)http://domain/webcatalog/store/Search.tpl?command=search&geSKUdata=0&db=st > ore.db&Categorysumm=t&Categorysort=1&Categorysdir=as&max=50 > > on Search.tpl page above I added a link to it which goes to: > > 2)http://domain/webcatalog/store/Storeroomimages/PhotoGallary/EPG/index.htm > > now I'm at the photogallary index.htm page, now I want to add a link to go > back to the first 1) URL above and also keep my cart number but when I use > this for a link HREF=../../../Search.tpl?cart=[cart]>Home its still > not complete, what else do I need to add to it? > > Thanks Lee =) > You didn't pass the cart number to the photogallery page in the first place... so when you then used- HREF=../../../Search.tpl?cart=[cart]>Home on the photogallery page the cart number will be a new fresh number instead if the cart you intended to maintain. You have to pass the cart EVERYWHERE - wherever the links and forms go... (unless you use cookies or some other method to keep track of that session ID) SO the link #1 as you show below should be - 1) http://domain/webcatalog/store/Search.tpl?command=search&geSKUdata=0&db=st ore.db&Categorysumm=t&Categorysort=1&Categorysdir=as&max=50&cart=[cart]and link#2 should be- 2)http://domain/webcatalog/store/Storeroomimages/PhotoGallary/EPG/index.htm& cart=[cart]-JohnLee Selvog wrote:> on 3/5/00 10:01 AM, Bryan M. Baer at bbaer@3ip.net wrote: > > > [cart]>link >------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Lee Selvog

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:

Search (1997) webcat list slow? (1998) Database of Tax Rates? (1997) CMS (2003) New NT betas available (1997) WebCat2b12--[searchstring] bug (1997) [WebDNA] Libmysql.dll error (2009) Errata: WCS Newbie question (1997) UnitShopCost (2007) Re:E-Mailer (WebCatb15acgiMac) (1997) addlineitem (2000) WebCat2 beta 11 - new prefs ... (1997) change the number format (1997) Problem with Formulas.db (1998) Opinion: [input] should be called [output] ... (1997) [WebDNA] Sorry WebDNA server not running - September 2019 Edition (2019) WebCommerce: Folder organization ? (1997) Change in Host? (1999) weird convertchars behavior (2000) WebCatalog for guestbook ? (1997)