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:
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:
Windows 2.1b2 Append Bug? (1997)
switching users (1998)
[WebDNA] [announce] Marketing new hire (2009)
OT: WebDNA and LINUX (2004)
RE: Nested [SEARCH] and [REPLACE] problem. (1997)
new cart IDs being assigned somehow (1997)
Stumped by [thisUrl] (2006)
Help! WebCat2 bug (1997)
searchable list archive (1997)
Limiting user access to .tmpl files (1997)
WC2b12: Yes, Formulas.db is for real (1997)
Fun with Dates - any progress? (1997)
HELP WITH DATES (1997)
WebCat chatroom (1997)
PCS Frames (1997)
Re1000001: Setting up shop (1997)
Download to disk NOT display in browser (2002)
Searchable WebCat (etc.) Docs ? (1997)
Help w/Multi User Admins (1997)
I've been thinking (2002)