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:
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)