Adding more than one item and QTY to cart
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 34161
interpreted = N
texte = Hi there,There's a number of items in the searchable archives, and I HAVE tried. I would like to add a number of products to the cart at once, but only if there is a QTY specified for the product. I don't want to have to check a checkbox or anything, just fill in a QTY.I understand the cart page needs to have a [FormVariables] and [AddLineItem], but I can't seem to get it to work.... Here's the results.tpl stuff:
Here's the cart.tpl stuff:[formvariables name=qty_&exact=f][AddLineItem db=/orgmech_internal/orgmech.db&cart=[cart]&sku=[url][SKU][/url]]quantity=[qty_[index]][/AddLineItem][/formvariables]
There's obviously something I'm missing. At the moment, the cart.tpl displays the message Error: couldn't find SKU '[SKU]' in product database Error: couldn't find SKU '[SKU]' in product database Error: couldn't find SKU '[SKU]' in product database. I want the QTY to remain editable in the cart page.Any help would be so hugely appreciated, and good karma is guaranteed...Regards,TimTim RobinsonArt Directorimagine onlinetim@imagine.au.comhttp://www.imagine.au.com-------------------------------------------------------------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 Web Archive of this list is at: http://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Hi there,There's a number of items in the searchable archives, and I HAVE tried. I would like to add a number of products to the cart at once, but only if there is a QTY specified for the product. I don't want to have to check a checkbox or anything, just fill in a QTY.I understand the cart page needs to have a [formvariables] and [addlineitem], but I can't seem to get it to work.... Here's the results.tpl stuff:Here's the cart.tpl stuff:[formvariables name=qty_&exact=f][AddLineItem db=/orgmech_internal/orgmech.db&cart=[cart]&sku=[url][SKU][/url]]quantity=[qty_[index]][/AddLineItem][/formvariables]There's obviously something I'm missing. At the moment, the cart.tpl displays the message Error: couldn't find SKU '[SKU]' in product database Error: couldn't find SKU '[SKU]' in product database Error: couldn't find SKU '[SKU]' in product database. I want the QTY to remain editable in the cart page.Any help would be so hugely appreciated, and good karma is guaranteed...Regards,TimTim RobinsonArt Directorimagine onlinetim@imagine.au.comhttp://www.imagine.au.com-------------------------------------------------------------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 Web Archive of this list is at: http://search.smithmicro.com/
Tim Robinson
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:
Error Lob.db records error message not name (1997)
Help formatting search results w/ table (1997)
[WebDNA] Order that emailer sends emails? (2009)
frames & carts (1997)
My URL, Your URL (2002)
New Command prefs ... (1997)
Multiple SSL Keys (1998)
[WebDNA] Successful, working WebDNA7/CentOS install? (2013)
Calendar using WebCatalog? (1997)
HTML Editors (1997)
5.0 Pricing (2003)
Resume Catalog ? (1997)
OT: How to find out who owns an IP address (2001)
Protect (1997)
ups (1999)
Using Plug-In while running 1.6.1 (1997)
Fw: Linux w/ apache (2000)
PIXO support (1997)
Fuzzy on [url] context (1998)
Question re: FlushDatabases (1997)