Re: Sizes/Colors Options

This WebDNA talk-list message is from

2006


It keeps the original formatting.
numero = 67120
interpreted = N
texte = If it helps anyone, here's an example of the explode() function: From: http://us3.php.net/manual/en/function.explode.php On 5/9/06 1:31 PM, "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. > > > On 5/9/06 11:21 AM, "Clint Davis" wrote: > >> I'm setting up a new store with some products requiring size/color options. >> I noticed that StoreBuilder does this, but I don't like the implementation. >> StoreBuilder assumes that every size is available in every color, but that's >> not the case in my store. I may have red, blue, and green with sizes small, >> medium, and large, but the red shirt is only available in small. >> >> I'll store options in a separate database, but I'm interested in how >> everyone else handles this? ------------------------------------------------------------- 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:

    
  1. Re: Sizes/Colors Options ( John Peacock 2006)
  2. Re: Sizes/Colors Options ( Donovan Brooke 2006)
  3. Re: Sizes/Colors Options ( Clint Davis 2006)
  4. Re: Sizes/Colors Options ( Clint Davis 2006)
  5. Re: Sizes/Colors Options ( Donovan Brooke 2006)
  6. Sizes/Colors Options ( Clint Davis 2006)
If it helps anyone, here's an example of the explode() function: From: http://us3.php.net/manual/en/function.explode.php On 5/9/06 1:31 PM, "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. > > > On 5/9/06 11:21 AM, "Clint Davis" wrote: > >> I'm setting up a new store with some products requiring size/color options. >> I noticed that StoreBuilder does this, but I don't like the implementation. >> StoreBuilder assumes that every size is available in every color, but that's >> not the case in my store. I may have red, blue, and green with sizes small, >> medium, and large, but the red shirt is only available in small. >> >> I'll store options in a separate database, but I'm interested in how >> everyone else handles this? ------------------------------------------------------------- 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/ Clint Davis

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:

minimalist shopping cart. (1997) Search Context Strips URL chrs.? (1999) passing search criteria (1997) Javascripts (1998) .. more on sliding discounts... (1997) Email Set-Up? (1997) Shopping Cart Problem (1998) auto-stripping of spaces (1997) Almost a there but..bye bye NetCloak (1997) Merging databases (1997) Running _every_ page through WebCat-error.html (1997) Grant, please help me ... (1997) WC2f3 (1997) WebCat2 - Getting to the browser's username/password data (1997) Re:Help name our technology! (1997) [WebDNA] Use of MySQL with WebDNA (2010) NumFound (1999) A little syntax help (1997) Searching multiple fields (1997) carriage returns in data (1997)