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:

WebCat2b13MacPlugIn - [showif][search][/showif] (1997) Grouping fields problem (1998) PIXO support (1997) Setting up shop (1997) PROBLEMS WITH WEBCAT LINUX (2000) [LOOKUP] (1997) Gil's in the lead (1999) Emailer setup (1997) Date Help! (2003) Search Form (2000) Confirming a bug/oddity (2003) OT: javascript help (2003) referrer and no caches (1997) Cannot calculate prices (1997) WebCat2 - many [carts] on one template page? (1997) [WebDNA] Calendar Examples (2019) Banners (1997) Max Record length restated as maybe bug (1997) Dummy Credit Card Number for debug? (1997) [ListFiles] context & alias (1997)