Re:Adding Multiple files to a cart at once

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 16988
interpreted = N
texte = The short answer is to do a showcart with one button at the bottom of the page and parse the formvariables on the receiveing template and do [addlineitems ]Something like[FORMVARIABLES name=sku-&exact=f] [AddLineItem db=[db]&sku=[value]&cart=[cart]][/AddLineItem] [/FORMVARIABLES]set the variables on the form to have a name of sku-[sku] and the value to be [sku]I hope this helps...>Hello, >I'm working on a real estate site which all the property information is >taken from a Web Catalog database. There is a main page where I used the >[search] context to bring in all the properties and separate them into >categories like commercial and office. Now this page lists every >property in the database. > >The big question is, how do I make this list (which has multiple [search]s) >into a form with checkboxes so that someone browsing the list can pick and >choose which of the properties they wish to select and add to their cart >them click a submit button and add all these properties at once. I've tried >a few things and it'll only bring one to the cart even though I've selected >more than one. Currently I have an add to cart on each of the properties as >a temporary solution, but my boss really wants those checkboxes and soon. > >Can this even be done? My [search] lines look like this: > >[search db=pip4.db&XTRA6data=a&XTRA5sort=1&XTRA5sdir=as] >[founditems] > > face=Arial>[ADDRESS] > face=Arial>[AVAILABLE] > face=Arial>[TOTALSQFT] > face=Arial>[OFFICESQFT] > > >Add > > > >[/founditems] >[/search] > >Any advice would be greatly appriciated. >--Michael Fichtenmayer Jay Van Vark ******************************* Pacific Coast Software | eCommerce (WebCatalog) 11770 Bernardo Plaza Court | Site Hosting & Development Suite 453 | http://www.smithmicro.com San Diego, CA 92128 ******************************* 619.675.1106** PGP key available upon request. ** Associated Messages, from the most recent to the oldest:

    
  1. Re:Adding Multiple files to a cart at once (Jay Van Vark 1998)
The short answer is to do a showcart with one button at the bottom of the page and parse the formvariables on the receiveing template and do [addlineitems ]Something like[FORMVARIABLES name=sku-&exact=f] [AddLineItem db=[db]&sku=[value]&cart=[cart]][/AddLineItem] [/FORMVARIABLES]set the variables on the form to have a name of sku-[sku] and the value to be [sku]I hope this helps...>Hello, >I'm working on a real estate site which all the property information is >taken from a Web Catalog database. There is a main page where I used the >[search] context to bring in all the properties and separate them into >categories like commercial and office. Now this page lists every >property in the database. > >The big question is, how do I make this list (which has multiple [search]s) >into a form with checkboxes so that someone browsing the list can pick and >choose which of the properties they wish to select and add to their cart >them click a submit button and add all these properties at once. I've tried >a few things and it'll only bring one to the cart even though I've selected >more than one. Currently I have an add to cart on each of the properties as >a temporary solution, but my boss really wants those checkboxes and soon. > >Can this even be done? My [search] lines look like this: > >[search db=pip4.db&XTRA6data=a&XTRA5sort=1&XTRA5sdir=as] >[founditems] > > face=Arial>[ADDRESS] > face=Arial>[AVAILABLE] > face=Arial>[TOTALSQFT] > face=Arial>[OFFICESQFT] > >[url][SKU][/url]&cart=[cart]&db=pip4.db> >Add > > > >[/founditems] >[/search] > >Any advice would be greatly appriciated. >--Michael Fichtenmayer Jay Van Vark ******************************* Pacific Coast Software | eCommerce (WebCatalog) 11770 Bernardo Plaza Court | Site Hosting & Development Suite 453 | http://www.smithmicro.com San Diego, CA 92128 ******************************* 619.675.1106** PGP key available upon request. ** Jay Van Vark

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:

[INCLUDE] Limitations (1998) Looking For WebCatalog Migration Assistance (2003) Email Problems (2000) ErrorMessages.db suggestion (1997) ShippingCosts (1998) Emailer (1997) Need help!! on searching in two databases. (1998) Search Command, multiple dbs, etc. --still confused (2000) WebCat2: multiple currency support (1997) WebCat2.0 acgi vs plugin (1997) Virtual hosting and webcatNT (1997) Encrypt/decrypt bug in 3.0.5b12 (1999) Country & Ship-to address & other fields ? (1997) Associative lookup style? + bit more (1997) WebCatalog for guestbook ? (1997) Weird Math and SV (1997) Help!!!! (1997) Database causes out of memory error (2000) 2nd WebCatalog2 Feature Request (1996) WCS Newbie question (1997)