Re: setlineitem - textc and texte

This WebDNA talk-list message is from

2005


It keeps the original formatting.
numero = 62273
interpreted = N
texte = Hi Kalin, It may be a problem having your [setlineitems] within the [lineitems]. Tim > From: "kalin mintchev" > Reply-To: "WebDNA Talk" > Date: Sat, 18 Jun 2005 02:34:15 -0400 (EDT) > To: "WebDNA Talk" > Subject: setlineitem - textc and texte > > > hi all.. > > ok. i haven't done this in a while but i believe this shouldn't be > happening.. > > i have a shopping cart in which there is this simple piece of code to set > up texta, textc, texte and display them: > > > .... > > [lineItems] > ...... > > [setlineitem > db=brand.db&index=[lineindex]&cart=[cart]]textA=[url][name][/url]&textE=[url][ > size][/url]&textC=[url][col][/url][/setlineitem] > > > [textA] > [showif [textC]!nocolor] >
color: [textC] > [/showif] > > [showif [textE]!nosize] >
size: [textE] > [/showif] > > ............. > [/lineItems] > .......... > >
> > > what happens is that if i have more then 1 item in the shopping cart the > textA stays put but textE and textC get changed to the last ones > selected... > > let's say i have 2 items with 2 different colors and sizes.. here is what > i get in the shoppingcart file: > > > L 01-64-33MA 1 160 F F 0 Top Intea > Stephan Schneider Lavender w/Print 4(L) > > L 01-46-70ZE 1 275 F F 0 Cardigan > Colri - Lavender Stephan Schneider Lavender w/Print > 4(L) > > > > where 'Lavender w/Print' and '4(L)' are the color/size for the second > item. the first one had different textC and textE before i selected the > second one > > ?!?! > > i'd appreciate some help... > > thanks... > > > > > > > > ------------------------------------------------------------- > 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/ ------------------------------------------------------------- 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: setlineitem - textc and texte ( "kalin mintchev" 2005)
  2. Re: setlineitem - textc and texte ( Donovan Brooke 2005)
  3. Re: setlineitem - textc and texte ( "kalin mintchev" 2005)
  4. Re: setlineitem - textc and texte ( Donovan Brooke 2005)
  5. Re: setlineitem - textc and texte ( "kalin mintchev" 2005)
  6. Re: setlineitem - textc and texte ( Donovan Brooke 2005)
  7. Re: setlineitem - textc and texte ( Tim Robinson 2005)
  8. setlineitem - textc and texte ( "kalin mintchev" 2005)
Hi Kalin, It may be a problem having your [setlineitems] within the [lineitems]. Tim > From: "kalin mintchev" > Reply-To: "WebDNA Talk" > Date: Sat, 18 Jun 2005 02:34:15 -0400 (EDT) > To: "WebDNA Talk" > Subject: setlineitem - textc and texte > > > hi all.. > > ok. i haven't done this in a while but i believe this shouldn't be > happening.. > > i have a shopping cart in which there is this simple piece of code to set > up texta, textc, texte and display them: > > > .... > > [lineitems] > ...... > > [setlineitem > db=brand.db&index=[lineindex]&cart=[cart]]textA=[url][name][/url]&textE=[url][ > size][/url]&textC=[url][col][/url][/setlineitem] > > > [textA] > [showif [textC]!nocolor] >
color: [textC] > [/showif] > > [showif [textE]!nosize] >
size: [textE] > [/showif] > > ............. > [/lineItems] > .......... > >
> > > what happens is that if i have more then 1 item in the shopping cart the > textA stays put but textE and textC get changed to the last ones > selected... > > let's say i have 2 items with 2 different colors and sizes.. here is what > i get in the shoppingcart file: > > > L 01-64-33MA 1 160 F F 0 Top Intea > Stephan Schneider Lavender w/Print 4(L) > > L 01-46-70ZE 1 275 F F 0 Cardigan > Colri - Lavender Stephan Schneider Lavender w/Print > 4(L) > > > > where 'Lavender w/Print' and '4(L)' are the color/size for the second > item. the first one had different textC and textE before i selected the > second one > > ?!?! > > i'd appreciate some help... > > thanks... > > > > > > > > ------------------------------------------------------------- > 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/ ------------------------------------------------------------- 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/ Tim Robinson

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:

Newbie questions (1999) b12 cannot limit records returned and more. (1997) [WebDNA] Error installing v6.2 on Ubuntu 10.10 ... (2010) 2nd WebCatalog2 Feature Request (1996) Hiding Contexts (2000) [OT] Ratings comparison? (2003) Webcatalog, Webstar and Crasharama (1999) Secure server question (1997) frames & carts (1997) [WebDNA] Raspberry Pi (2013) 2.0Beta Command Ref (can't find this instruction) (1997) WebCat hosting providers? (1997) Email check problems (1999) Problem: 3.0 doesn't update carts (1997) Calendar (1997) Summing fields (1997) Duplicate Cart Problem in Netscape (2000) Multiple Ad databases? (1997) authenticating a second user (1997) WebCat2b13MacPlugIn - [include] doesn't allow creator (1997)