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.comWebMaster - eCommerce SpecialistMacSultantsProfessional Solutions for Computer SystemsPhone# 856-273-3255Fax# 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:
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.comWebMaster - eCommerce SpecialistMacSultantsProfessional Solutions for Computer SystemsPhone# 856-273-3255Fax# 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)