MISTAKE in last post: Re: Adding multiple items to Cart

This WebDNA talk-list message is from

1999


It keeps the original formatting.
numero = 25322
interpreted = N
texte = whoops... mistake should be like so:[formvariables exact=f&name=item] [addlineitem cart=[cart]&db=Grover.db&sku=[value]]quantity=1[/addlineitem] [/formvariables]>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: > >href=ShoppingCart.tmpl?cart=[cart]&item1=GEXP1NHPPS&item2=someothersk >u>Kruger > >then 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:

    
whoops... mistake should be like so:[formvariables exact=f&name=item] [addlineitem cart=[cart]&db=Grover.db&sku=[value]]quantity=1[/addlineitem] [/formvariables]>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: > >href=ShoppingCart.tmpl?cart=[cart]&item1=GEXP1NHPPS&item2=someothersk >u>Kruger > >then 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:

osx or redhat and / or other (2005) Calculating days, hours, minutes ago (2004) Code for Accessing E-mail Accounts (2005) [protect] on NT? (1997) Many $WebCat.exe processes (1998) Small Bug: ErrorLog.txt/[FORMVARIABLES]/[ORDERFILE] (1998) Displaying photo attached to first record (1997) Emailer port change (1997) Web Logs (1998) Apache/WebDNA (2002) Flash integration (2002) Nested tags count question (1997) Re:Emailer tracking (1997) [lineitems] and [writefile] (1998) WebCat2 beta 11 - new prefs ... (1997) Not sending email !!! (2002) Re[4]: Problem with new formvariables (2000) List Name Change (2002) [ShowNext] (1997) Limiting user access to .tmpl files (1997)