Re: Colors

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 30132
interpreted = N
texte = to make the text fields extensible, choose *2* single characters that won't ever appear in them. One will be a null character, and one will be a delimiter. Do all additions to a cart through a context instead of a command.Ex. Say I want to store size,color, and make in one text field. My delimiter will be ^ and my null character will be % [setlineitem blah blah]textA=[URL]^[_size]^[_color]^[_make]^[/URL][/setlineitem], where [_size], [_color], and [_make] are values from the previous' page form input.then, when you want to access them, you know size is the first word, color is the second, and make the third [listwords words=[textA]&delimiters=^] [showif [index]=THEONEYOUWANT] [hideif [word]=%][!]Don't show anything if there was no value for it, or, do some other action when it's a null value[/!][/hideif] [/showif] [/listwords] hope that gives you some ideas (i'm coming in VERY late on this thread, so I apologize if this solution was already given....didn't have time to read through ALL the earlier posts on this subject)-HowardOn Thu, 6 Apr 2000, Brian Boegershausen wrote:> You can not. As far as the shopping cart lineitems are concerned, all you > can use are > index > sku > quantity > price > unitshipcost > texta / textb / textc / textd / texte > taxable > canemail > How many fields do you need. You could do a [lookup] by SKU for display > purposes and sending email, but you could not store the extra info in the > actual cart. > > ----- Original Message ----- > From: Rodolfo de la Garza > To: WebCatalog Talk > Sent: Thursday, April 06, 2000 10:29 AM > Subject: Re: Colors > > > Thanks Brian, > How can I use more fields than texta-texte? > > -Rodolfo > > El 4/5/00 7:04 PM, Brian Boegershausen brianboegs@collegefever.com > escribió: > > > You need to make the color enter the cart using texta - texte > > The shoppingcart does not understand the field color, only the reserved > > words. > > > > Brian Boegershausen > > www.orderbywire.com > > > > ----- Original Message ----- > > From: Rodolfo > > To: WebCatalog Talk > > Sent: Wednesday, April 05, 2000 7:25 PM > > Subject: Colors > > > > > >> Hi again, > >> > >> I'm trying to set up a colors for the items and I have this problem: > >> > >> First in the database I have a field called color and there the > >> administrator can write the colors of the items separated by a space. > >> Then I have in the detail page something like this: > >> > >> [showif [color]!] > >> Choose a Color: [/showif] > >> > >> This works fine, and passes the info to the shopping cart template but if > > I > >> go back to buy the same item again but with different color, in the > >> shoppingcart template it change both to the last color. > >> > >> in the shoppingcart I have this: > >> > >> [lineItems] > >> > >> [lineIndex] > >> [Modelo] > >> [Nombre], [itemcolor] > >> >> VALUE=[quantity]> > >> $[format thousands .2f][price][/format] > >> >> > > > HREF=ShoppingCart.tmpl$remove?db=mydatabase.db&index=[lineIndex]&cart=[cart > >> ]>Quítalo > >> > >> [/lineItems] > >> > >> > >> could somebody tell me what I'm doing wrong? > >> Is this the correct way to do it? > >> > >> Thanks. > >> -Rodolfo > >> > >> > >> ------------------------------------------------------------- > >> 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 > > > > > > > > ------------------------------------------------------------- > > 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 > > > > > ------------------------------------------------------------- > 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 > > > > ------------------------------------------------------------- > 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 > ------------------------------------------------------------- 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 Associated Messages, from the most recent to the oldest:

colors? - Thanks! (Serban Constantinescu 2000)
  • Re: Alternative
  • colors? (EFriend1@aol.com 2000)
  • Re: Alternative
  • colors? (Joseph D'Andrea 2000)
  • Re: Alternative
  • colors? (Paul Fowler 2000)
  • Re: Alternative
  • colors? (Anup Setty 2000)
  • Re: Alternative
  • colors? (Charles Kline 2000)
  • Alternative
  • colors? (Serban Constantinescu 2000)
  • Re: Sizes and colors (John Winningham 1999)
  • Re:Sizes and colors (Jay Van Vark 1999)
  • Sizes and colors (John T. O'Connell 1999)
  • Re: Alternating BGColors in Table Rows (PCS Technical Support 1998)
  • Re: Alternating BGColors in Table Rows (Britt T. 1998)
  • Re: Alternating BGColors in Table Rows (Kenneth Grome 1998)
  • Re: Alternating BGColors in Table Rows (Bob Minor 1998)
  • Alternating BGColors in Table Rows (Britt T. 1998)
  • Re: Alternating colors (Grant Hulbert 1997)
  • Alternating colors (Grant Hulbert 1997)
  •     
    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)
    7. Re: Colors in cart (Robert Wade 2002)
    8. Re: Colors in cart (Robert Wade 2002)
    9. Re: Colors in cart (stephen 2002)
    10. Re: Colors in cart (Robert Wade 2002)
    11. Re: Colors in cart (stephen 2002)
    12. Re: Colors in cart (Robert Wade 2002)
    13. Re: Colors in cart (stephen 2002)
    14. Re: Colors in cart (Robert Wade 2002)
    15. Re: Colors in cart (stephen 2002)
    16. Re: Colors in cart (Robert Wade 2002)
    17. Colors in cart (stephen 2002)
    18. Re: Colors (Howard Wolosky 2000)
    19. Re: Colors (Brian Boegershausen 2000)
    20. Re: Colors (Rodolfo de la Garza 2000)
    21. Re: Colors (Brian Boegershausen 2000)
    22. Colors (Rodolfo 2000)
    23. Re: Variable Sizes, Widths and Colors (Natalie M. Rezonoff 2000)
    24. Re: Variable Sizes, Widths and Colors (John Butler 2000)
    25. Re: Variable Sizes, Widths and Colors (John Jakovich 2000)
    26. Re: Variable Sizes, Widths and Colors (Kenneth Grome 2000)
    27. Variable Sizes, Widths and Colors (Nicholas Carretta 2000)
    28. Re: Alternative
    to make the text fields extensible, choose *2* single characters that won't ever appear in them. One will be a null character, and one will be a delimiter. Do all additions to a cart through a context instead of a command.Ex. Say I want to store size,color, and make in one text field. My delimiter will be ^ and my null character will be % [setlineitem blah blah]textA=[url]^[_size]^[_color]^[_make]^[/URL][/setlineitem], where [_size], [_color], and [_make] are values from the previous' page form input.then, when you want to access them, you know size is the first word, color is the second, and make the third [listwords words=[textA]&delimiters=^] [showif [index]=THEONEYOUWANT] [hideif [word]=%][!]Don't show anything if there was no value for it, or, do some other action when it's a null value[/!][/hideif] [/showif] [/listwords] hope that gives you some ideas (i'm coming in VERY late on this thread, so I apologize if this solution was already given....didn't have time to read through ALL the earlier posts on this subject)-HowardOn Thu, 6 Apr 2000, Brian Boegershausen wrote:> You can not. As far as the shopping cart lineitems are concerned, all you > can use are > index > sku > quantity > price > unitshipcost > texta / textb / textc / textd / texte > taxable > canemail > How many fields do you need. You could do a [lookup] by SKU for display > purposes and sending email, but you could not store the extra info in the > actual cart. > > ----- Original Message ----- > From: Rodolfo de la Garza > To: WebCatalog Talk > Sent: Thursday, April 06, 2000 10:29 AM > Subject: Re: Colors > > > Thanks Brian, > How can I use more fields than texta-texte? > > -Rodolfo > > El 4/5/00 7:04 PM, Brian Boegershausen brianboegs@collegefever.com > escribió: > > > You need to make the color enter the cart using texta - texte > > The shoppingcart does not understand the field color, only the reserved > > words. > > > > Brian Boegershausen > > www.orderbywire.com > > > > ----- Original Message ----- > > From: Rodolfo > > To: WebCatalog Talk > > Sent: Wednesday, April 05, 2000 7:25 PM > > Subject: Colors > > > > > >> Hi again, > >> > >> I'm trying to set up a colors for the items and I have this problem: > >> > >> First in the database I have a field called color and there the > >> administrator can write the colors of the items separated by a space. > >> Then I have in the detail page something like this: > >> > >> [showif [color]!] > >> Choose a Color: [/showif] > >> > >> This works fine, and passes the info to the shopping cart template but if > > I > >> go back to buy the same item again but with different color, in the > >> shoppingcart template it change both to the last color. > >> > >> in the shoppingcart I have this: > >> > >> [lineitems] > >> > >> [lineIndex] > >> [Modelo] > >> [Nombre], [itemcolor] > >> >> VALUE=[quantity]> > >> $[format thousands .2f][price][/format] > >> >> > > > HREF=ShoppingCart.tmpl$remove?db=mydatabase.db&index=[lineIndex]&cart=[cart > >> ]>Quítalo > >> > >> [/lineItems] > >> > >> > >> could somebody tell me what I'm doing wrong? > >> Is this the correct way to do it? > >> > >> Thanks. > >> -Rodolfo > >> > >> > >> ------------------------------------------------------------- > >> 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 > > > > > > > > ------------------------------------------------------------- > > 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 > > > > > ------------------------------------------------------------- > 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 > > > > ------------------------------------------------------------- > 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 > ------------------------------------------------------------- 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 Howard Wolosky

    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:

    MacOSX/Apache? (1999) Porting to NT (2001) setting taxable to true (1997) How to upgrade from 3.04 to 3.08? And Netcraft (2000) WebCatalog for guestbook ? (1997) CVS Files for databases (2000) Help- Linux Install Serial number not taling. (2000) Resume Catalog ? (1997) Remove a Field from a DB (2007) do you have a webcatalog tool you want to sell? (1999) Web*SSL and WebCatalog (1997) Card clearance, problems - solutions? (1997) Tab Charactor (1997) Smart caching problems with 2.1b3? (1997) [OT] Help Webcat 213 win (2000) Loosing Quantity (2000) SiteGuard Admin Feature ? (1997) WebCatalog for Postcards ? (1997) ErrorMessages.db suggestion (1997) What is your question??? (2003)