Re: Add command creates new cart but I'm passing existing cart...?

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 34971
interpreted = N
texte = Glenn-Thanks for the reply.Perhaps you'll be clearer on what I'm trying to do if you look at the page at hand:http://www.smqonline.comGo to that page and enter a search term like golf or tennis Click submit and you'll be on the page in question.All I'm concerned with is maintaining the passed cart value. Anywhere I put [cart] on this page, a new cart value appears.Notice the cart number above the footer on this page. Roll your mouse over the select for download link. New value.Stumped.Here's the form that puts you on the page. Maybe the problem is here:

I'm pasting the entire page code below, just in case you want to look. SMQ Archive Search Results [include file=smqheader2.html][search db=smqarchive.db&group1field=ARTICLETITLE+ARTICLEAUTHOR1+UNIVERSITY1+ARTICLEAUTHOR2+UNIVERSITY2+ARTICLEAUTHOR3+UNIVERSITY3+ARTICLEAUTHOR4+UNIVERSITY4+ARTICLEAUTHOR5+UNIVERSITY5+ARTICLEAUTHOR6+UNIVERSITY6+ARTICLE+FILENAME+SKU+ARTICLENUM+KEYWORDS+SUMMARY+VOLUMENUM+ISSUENUM+MONTHOFPUBLICATION+YEAROFPUBLICATION+DATE&wogroup1data=[KEYWORD]]

To view downloaded SMQ articles you will need the free Adobe Acrobat Reader. If you do not already have the reader installed on your computer click the Adobe image below to go to the download site.

Click here for detailed SMQ Article download instructions. You will have other opportunities to view these instructions.


There were [numFound] matches for [Keyword].

[FoundItems][/FoundItems]
TitleSummaryLead AuthorVolume/IssueDownloadBackissue
[ARTICLETITLE][SUMMARY][ARTICLEAUTHOR1][VOLUMENUM]:[ISSUENUM] Select for DownloadPurchase SMQ
[ISSID]

Can't find what you're looking for? Please tell us, we may be able to help.
Search again:


[cart]
[include file=smqfooter.html] Thanks for taking a look. >From: Glenn Busbin >Reply-To: (WebCatalog Talk) >To: (WebCatalog Talk) >Subject: Re: Add command creates new cart but I'm passing existing cart...? >Date: Fri, 21 Jul 2000 00:35:33 > >I'm not sure what you're trying to accomplish on your site, but it looks >like you want users to either download an article (the first link) or to >purchase it (second link). Right? > >If users can download without first paying via the first link, you don't >need to use [cart] in the URL because the cart serves no purpose. If users >can buy the article via the second link, the cart DOES serve a purpose. > > >I'm still stumped on why the add command is creating a new cart rather >than > >adding to the existing cart. This exact line of code appears other >places > >and works fine, adding to the existing cart. > >I probably just don't see the whole picture of what you're trying to do, >but want to repeat: an add command DOES NOT create a cart. > > >And, yes I'm sure I'm passing a cart value. I can see it in the location > >line of my browser. > >Put a [cart] tag in the code to display it and see if you get two cart >numbers. Like this: > >HREF=http://www.fitinfotech.com/ShoppingCart.tpl?command=add&cart=[cart]&db=fit >products.db&sku=[url][sku][/url]&textB=[lookup >db=../fitproducts.db&value=[sku]&lookinfield=sku&returnfield=textB¬found=notf >ound]>color=00005e>Select for Download >
[cart] > >href=backissueresults.tpl?cart=[cart]&ISSID=[url][ISSID][/url]&startat=1> >face=gill sans mt color=#00005e>Purchase SMQ
[ISSID] >
[cart] > > > >------------------------------------------------------------- >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 > >Web Archive of this list is at: http://search.smithmicro.com/________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com ------------------------------------------------------------- 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 Web Archive of this list is at: http://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Add command creates new cart but I'm passing existing cart...? (Glenn Busbin 2000)
  2. Re: Add command creates new cart but I'm passing existing cart...? (Robert McPeak 2000)
  3. Re: Add command creates new cart but I'm passing existing cart...? (Robert McPeak 2000)
  4. Re: Add command creates new cart but I'm passing existing cart...? (Glenn Busbin 2000)
  5. Re: Add command creates new cart but I'm passing existing cart...? (Robert McPeak 2000)
  6. Re: Add command creates new cart but I'm passing existing cart...? (Glenn Busbin 2000)
  7. Add command creates new cart but I'm passing existing cart...? (Robert McPeak 2000)
Glenn-Thanks for the reply.Perhaps you'll be clearer on what I'm trying to do if you look at the page at hand:http://www.smqonline.comGo to that page and enter a search term like golf or tennis Click submit and you'll be on the page in question.All I'm concerned with is maintaining the passed cart value. Anywhere I put [cart] on this page, a new cart value appears.Notice the cart number above the footer on this page. Roll your mouse over the select for download link. New value.Stumped.Here's the form that puts you on the page. Maybe the problem is here:
[cart]>

I'm pasting the entire page code below, just in case you want to look. SMQ Archive Search Results [include file=smqheader2.html][search db=smqarchive.db&group1field=ARTICLETITLE+ARTICLEAUTHOR1+UNIVERSITY1+ARTICLEAUTHOR2+UNIVERSITY2+ARTICLEAUTHOR3+UNIVERSITY3+ARTICLEAUTHOR4+UNIVERSITY4+ARTICLEAUTHOR5+UNIVERSITY5+ARTICLEAUTHOR6+UNIVERSITY6+ARTICLE+FILENAME+SKU+ARTICLENUM+KEYWORDS+SUMMARY+VOLUMENUM+ISSUENUM+MONTHOFPUBLICATION+YEAROFPUBLICATION+DATE&wogroup1data=[KEYWORD]]

To view downloaded SMQ articles you will need the free Adobe Acrobat Reader. If you do not already have the reader installed on your computer click the Adobe image below to go to the download site.

Click here for detailed SMQ Article download instructions. You will have other opportunities to view these instructions.


There were [numFound] matches for [Keyword].

[founditems][/FoundItems]
TitleSummaryLead AuthorVolume/IssueDownloadBackissue
[ARTICLETITLE][SUMMARY][ARTICLEAUTHOR1][VOLUMENUM]:[ISSUENUM] [cart]&db=fitproducts.db&sku=[url][sku][/url]&textB=[lookup db=../fitproducts.db&value=[sku]&lookinfield=sku&returnfield=textB¬found=notfound]>Select for Download[cart]&ISSID=[url][ISSID][/url]&startat=1>Purchase SMQ
[ISSID]

Can't find what you're looking for? Please tell us, we may be able to help.
Search again:

[cart]&CACHE=[random][random][random][random][random]> [cart]>

[cart]
[include file=smqfooter.html] Thanks for taking a look. >From: Glenn Busbin >Reply-To: (WebCatalog Talk) >To: (WebCatalog Talk) >Subject: Re: Add command creates new cart but I'm passing existing cart...? >Date: Fri, 21 Jul 2000 00:35:33 > >I'm not sure what you're trying to accomplish on your site, but it looks >like you want users to either download an article (the first link) or to >purchase it (second link). Right? > >If users can download without first paying via the first link, you don't >need to use [cart] in the URL because the cart serves no purpose. If users >can buy the article via the second link, the cart DOES serve a purpose. > > >I'm still stumped on why the add command is creating a new cart rather >than > >adding to the existing cart. This exact line of code appears other >places > >and works fine, adding to the existing cart. > >I probably just don't see the whole picture of what you're trying to do, >but want to repeat: an add command DOES NOT create a cart. > > >And, yes I'm sure I'm passing a cart value. I can see it in the location > >line of my browser. > >Put a [cart] tag in the code to display it and see if you get two cart >numbers. Like this: > >HREF=http://www.fitinfotech.com/ShoppingCart.tpl?command=add&cart=[cart]&db=fit >products.db&sku=[url][sku][/url]&textB=[lookup >db=../fitproducts.db&value=[sku]&lookinfield=sku&returnfield=textB¬found=notf >ound]>color=00005e>Select for Download >
[cart] > >href=backissueresults.tpl?cart=[cart]&ISSID=[url][ISSID][/url]&startat=1> >face=gill sans mt color=#00005e>Purchase SMQ
[ISSID] >
[cart] > > > >------------------------------------------------------------- >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 > >Web Archive of this list is at: http://search.smithmicro.com/________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com ------------------------------------------------------------- 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 Web Archive of this list is at: http://search.smithmicro.com/ Robert McPeak

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:

HELP - NONE STOP DIGESTS. Digest for 4/24/97) (1997) WebDNA Docs (2003) QuitFeedback & DBNotOpened errors (1997) pop up menu's (1998) [carts] and databases (1997) select multiple 2 more cents (1997) Associative lookup style? (1997) multi-paragraph fields (1997) Secure server question (1997) RE: [sendmail]- bcc? (1998) WebCat2b13MacPlugIn - syntax to convert date (1997) Show shoppingcart after remove last item (1997) [WebDNA] Populating a menu from a search (2016) gateway application timeouts (1998) snicker, snicker (1997) Webcatalog server support (1997) Dup cart id on multi browsers running on the same machine-win2k (2001) Closing Databases (1998) [sendmail] and [formvariables] (1997) Emailer port change (1997)