numero = 67121
interpreted = N
texte = Clint Davis wrote:> I've found a PHP store with this functionality, but it uses a PHP function> (explode) for which I can't find a WebDNA equivalent. Basically, they have a> separate table for product options. They delimit each option within a field> with "->" (tabs added for readability):> > optionidproductidskunameitems> 11123MW->123LW->123XLWSizes - ColorsM - White->L -> White->XL -White0.00->0.00->1.00> > They use the explode function to create a pulldown menu like this:> > > Could a WebDNA function be written to split this single record into> individual items? If so, any pointers would be helpful as I've written a> function.If you are not doing anything client side.. why not just usesearches? I have done some sites where you do a jump menu upon color selection.. whichinitiates a search for the sizes available in that product andcolor. ...Works just fine.My latest preferred solution to this issue is to pre-populate aJS array with the data I need (similar to what it looks like your PHP code is doing).This makes the color / size selections and image changes very quick(client side).Notice the SKU format in your code...I've found that a SKU format similar to what they have is essential tothe store. If you are working on an existing store that is not set up witha SKU format that incorporates a common ID, Size, and color, you may havea hard time with the "find product SKU" philosophy.Donovan-- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE EUCA Design Center <- Web Development (specializing in eCommerce),-> <- Custom Paint, Labels, and Specialty Signage. -> <- Home and Business Embellishment/Fabrication, -> <- Glass Blowing, and Art Glass -> PH/FAX:> 1 (608) 835-2476 Web:> http://www.egg.bz | http://www.euca.us =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o-------------------------------------------------------------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://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Clint Davis wrote:> I've found a PHP store with this functionality, but it uses a PHP function> (explode) for which I can't find a WebDNA equivalent. Basically, they have a> separate table for product options. They delimit each option within a field> with "->" (tabs added for readability):> > optionidproductidskunameitems> 11123MW->123LW->123XLWSizes - ColorsM - White->L -> White->XL -White0.00->0.00->1.00> > They use the explode function to create a pulldown menu like this:> > > Could a WebDNA function be written to split this single record into> individual items? If so, any pointers would be helpful as I've written a> function.If you are not doing anything client side.. why not just usesearches? I have done some sites where you do a jump menu upon color selection.. whichinitiates a search for the sizes available in that product andcolor. ...Works just fine.My latest preferred solution to this issue is to pre-populate aJS array with the data I need (similar to what it looks like your PHP code is doing).This makes the color / size selections and image changes very quick(client side).Notice the SKU format in your code...I've found that a SKU format similar to what they have is essential tothe store. If you are working on an existing store that is not set up witha SKU format that incorporates a common ID, Size, and color, you may havea hard time with the "find product SKU" philosophy.Donovan-- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE EUCA Design Center <- Web Development (specializing in eCommerce),-> <- Custom Paint, Labels, and Specialty Signage. -> <- Home and Business Embellishment/Fabrication, -> <- Glass Blowing, and Art Glass -> PH/FAX:> 1 (608) 835-2476 Web:> http://www.egg.bz | http://www.euca.us =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o-------------------------------------------------------------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://webdna.smithmicro.com/
Donovan Brooke
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...