Re: <no subject> - selectable size to an ecommerce app?

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 35222
interpreted = N
texte = Thank you John!Mark> From: John Butler > Reply-To: (WebCatalog Talk) > Date: Wed, 26 Jul 2000 13:55:19 > To: (WebCatalog Talk) > Subject: Re: - selectable size to an ecommerce app? > > Is this what you mean? - > > [showif [hasSizes]=T]
Please choose size before adding to > cart:  NAME=textB>[sizeHTML][/showif] > > [sizeHTML] comes from that field in my main products db - from the record > corresponding > to the SKU of the product(s) listed. I populate that field when the admin > sets up the > product. I have a seperate db that only stores sizes/colors > (ProductsOptions.db). > Here's the header record: > > ProductIDsizeIndexsizecolorIndexcolorinventory > > So to populate the main products db 'sizeHTML' field, after the admin has used > forms I > made to create all the necessary records in the ProductsOptions.db, I use > this- > > [Search db=dbdir/MainProducts.db&eqSKUdatarq=[SKU]][FoundItems] > [Replace db=dbdir/MainProducts.db&eqSKUdatarq=[SKU]]sizeHTML=[Search > db=dbdir/ProductsOptions.db&eqProductIDdatarq=[SKU]&SizeIndexsort=1&sizesumm=T > ][FoundItems] VALUE=[size]>[size][/FoundItems][/Search]&colorHTML=[Search > db=dbdir/ProductsOptions.db&eqProductIDdatarq=[SKU]&ColorIndexsort=1&colorsumm > =T][FoundItems] VALUE=[color]>[color][/FoundItems][/Search][/Replace] > [/FoundItems][/Search] > > Here's an URL where you can see the end result: > > http://www.feeling-goods.com/Results.tmpl?command=search&eqMainDeptdatarq=Mens > %20Department&eqCategory3datarq=Sportwear&SKUsort=1&db=FG-WriteInHere/FG-produ > cts.db&searchLabel=Men%27s%20Clothing%20Sportwear&max=8 > > HTH > > -John > > Mark Sherwood wrote: > >> Could someone give me a snippet of code for how they got a selectable size >> to an ecommerce app? And it's URL? >> >> Thanks. >> >> Mark > > > ------------------------------------------------------------- > 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/ ------------------------------------------------------------- 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:

    
  1. Re: - selectable size to an ecommerce app? (Bob Minor 2000)
  2. Re: - selectable size to an ecommerce app? (Mark Sherwood 2000)
  3. Re: - selectable size to an ecommerce app? (John Butler 2000)
Thank you John!Mark> From: John Butler > Reply-To: (WebCatalog Talk) > Date: Wed, 26 Jul 2000 13:55:19 > To: (WebCatalog Talk) > Subject: Re: - selectable size to an ecommerce app? > > Is this what you mean? - > > [showif [hasSizes]=T]
Please choose size before adding to > cart:  NAME=textB>[sizeHTML][/showif] > > [sizeHTML] comes from that field in my main products db - from the record > corresponding > to the SKU of the product(s) listed. I populate that field when the admin > sets up the > product. I have a seperate db that only stores sizes/colors > (ProductsOptions.db). > Here's the header record: > > ProductIDsizeIndexsizecolorIndexcolorinventory > > So to populate the main products db 'sizeHTML' field, after the admin has used > forms I > made to create all the necessary records in the ProductsOptions.db, I use > this- > > [Search db=dbdir/MainProducts.db&eqSKUdatarq=[SKU]][founditems] > [Replace db=dbdir/MainProducts.db&eqSKUdatarq=[SKU]]sizeHTML=[Search > db=dbdir/ProductsOptions.db&eqProductIDdatarq=[SKU]&SizeIndexsort=1&sizesumm=T > ][founditems] VALUE=[size]>[size][/FoundItems][/Search]&colorHTML=[Search > db=dbdir/ProductsOptions.db&eqProductIDdatarq=[SKU]&ColorIndexsort=1&colorsumm > =T][founditems] VALUE=[color]>[color][/FoundItems][/Search][/Replace] > [/FoundItems][/Search] > > Here's an URL where you can see the end result: > > http://www.feeling-goods.com/Results.tmpl?command=search&eqMainDeptdatarq=Mens > %20Department&eqCategory3datarq=Sportwear&SKUsort=1&db=FG-WriteInHere/FG-produ > cts.db&searchLabel=Men%27s%20Clothing%20Sportwear&max=8 > > HTH > > -John > > Mark Sherwood wrote: > >> Could someone give me a snippet of code for how they got a selectable size >> to an ecommerce app? And it's URL? >> >> Thanks. >> >> Mark > > > ------------------------------------------------------------- > 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/ ------------------------------------------------------------- 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/ Mark Sherwood

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:

F2 to F3 rocky transition (1997) No more misunderstanding ... yay! :) (1997) Addlineitems SKU peramiter (2002) WC Database Format (1997) Shopping Cart Page (1997) More than one db with the same namn (was: WC2f3) (1997) Append command (2000) GuestBook example (1997) Help! WebCat2 bug (1997) sort problems....bug or brain fart? (1997) Locking up with WebCatalog... (1997) WebCat2b15MacPlugin - showing [math] (1997) suffix mapping for NT? (1997) PIXO support (1997) Encrypted Databases (2000) Authentication (2001) WebCatalog can't find database (1997) [WebDNA] Grep everything and replace with asterisks? (2010) can webcat create directories on NT? (1997) WebCat2: Formulas.db question (1997)