Re: Adding multiple items to Cart

This WebDNA talk-list message is from

1999


It keeps the original formatting.
numero = 25321
interpreted = N
texte = Hi There,I would suggest using contexts to do this instead of using a url. With a url you are limited to adding one item at a time, at least with the add command.So if you want to use a url to do this, you will have to do something like this:Krugerthen on the shoppingcart template you can put an addlineitem inside a formvariables loop.[formvariables exact=f&name=item] [addlineitem cart=[cart]]sku=[value][/addlineitem] [/formvariables] have fun.-= ck =- >Hi > >Newbie. I need to click on a URL and add two items to a shopping cart. I >want to prevent the user from going back and forth. > >Creating a link to add one item is no problem. >href=ShoppingCart.tmpl$add?db=Grover.db&sku=GEXP1NHPPS&cart=[cart]> >Kruger >How do I add two items directly to my ShoppingCart.tpl page from one url?-- _______________________________________________________________ Charles Kline ckline@macsultants.com WebMaster - eCommerce SpecialistMacSultants Professional Solutions for Computer SystemsPhone# 856-273-3255 Fax# 856-273-3721 ------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .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: Adding multiple items to cart with one click? (Nitai @ ComputerOil 2003)
  2. Re: Adding multiple items to cart with one click? (Rene van der Velde 2003)
  3. Re: Adding multiple items to cart with one click? (Robert McPeak 2000)
  4. Re: Adding multiple items to cart with one click? (WebDNA Support 2000)
  5. Re: Adding multiple items to cart with one click? (Dale 2000)
  6. Re: Adding multiple items to cart with one click? (Robert McPeak 2000)
  7. Re: Adding multiple items to cart with one click? (Will Starck 2000)
  8. Adding multiple items to cart with one click? (Robert McPeak 2000)
  9. Adding multiple items to Cart (John Butler 1999)
  10. MISTAKE in last post: Re: Adding multiple items to Cart (Charles Kline 1999)
  11. Re: Adding multiple items to Cart (Charles Kline 1999)
  12. Adding multiple items to Cart (James Godwin 1999)
  13. Re: Trouble with adding multiple items to cart (PCS Technical Support 1999)
  14. Trouble with adding multiple items to cart (Dennis J. Bonsall, Jr. 1999)
  15. Re: Adding multiple items to Cart at one time, & append contextproblem (Grant Hulbert 1998)
  16. Re: Adding multiple items to Cart at one time, & append contextproblem (John Hill 1998)
  17. Adding multiple items to Cart at one time, & append context problem (Tom Leitner 1998)
Hi There,I would suggest using contexts to do this instead of using a url. With a url you are limited to adding one item at a time, at least with the add command.So if you want to use a url to do this, you will have to do something like this:[cart]&item1=GEXP1NHPPS&item2=someothersk u>Krugerthen on the shoppingcart template you can put an addlineitem inside a formvariables loop.[formvariables exact=f&name=item] [addlineitem cart=[cart]]sku=[value][/addlineitem] [/formvariables] have fun.-= ck =- >Hi > >Newbie. I need to click on a URL and add two items to a shopping cart. I >want to prevent the user from going back and forth. > >Creating a link to add one item is no problem. >href=ShoppingCart.tmpl$add?db=Grover.db&sku=GEXP1NHPPS&cart=[cart]> >Kruger >How do I add two items directly to my ShoppingCart.tpl page from one url?-- _______________________________________________________________ Charles Kline ckline@macsultants.com WebMaster - eCommerce SpecialistMacSultants Professional Solutions for Computer SystemsPhone# 856-273-3255 Fax# 856-273-3721 ------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .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 Charles Kline

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:

WebCatalog-beta@talk.smithmicro.com list Hello... (2000) Can't ping (problem with [shell]) (2006) Flush - Updates made but not shown (2002) [createfolder] & [deletefolder] (1997) Had to share this one... (2002) Why is my easy [AddLineItems] NOT working?? (2000) WebDNA Server Not Running (2005) WebDNA 6.0a for Apache 2.2.4 (2007) Limiting user access to .tmpl files (1997) WebDNA performance comparisons? (2004) WebCatalog can't find database (1997) [WebDNA] [BULK] which of these tags exist in 7.0 (2011) Line Endings (2003) Hiding URL ? (1998) Multiple Ad databases? (1997) Invoice in another window (1998) [WebDNA] [OT] - One Man. One Road. (2010) Document Contains No Data! (1997) Setting up WebCatalog with Retail Pro data (1996) Mass deletion of records (2006)