numero = 30132
interpreted = N
texte = to make the text fields extensible, choose *2* single characters thatwon't ever appear in them. One will be a null character, and one will be adelimiter.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 blahblah]textA=[URL]^[_size]^[_color]^[_make]^[/URL][/setlineitem], where [_size], [_color], and [_make] are values from the previous' pageform input.then, when you want to access them, you know size is the first word, coloris 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, soI apologize if this solution was already given....didn't have time to readthrough 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]> >>
> >> [/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:
to make the text fields extensible, choose *2* single characters thatwon't ever appear in them. One will be a null character, and one will be adelimiter.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 blahblah]textA=[url]^[_size]^[_color]^[_make]^[/URL][/setlineitem], where [_size], [_color], and [_make] are values from the previous' pageform input.then, when you want to access them, you know size is the first word, coloris 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, soI apologize if this solution was already given....didn't have time to readthrough 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]> >>
> >> [/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
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...