Re: how to know the [LineIndex] number webcat generated during a [AddLineItem]?

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 26169
interpreted = N
texte = On 1/14/00 12:55 pm, John Butler so noted...>Rob, you mean something like this- (?) > >[math]NumCartItems=0[/math] > >[LineItems] >[math]NumCartItems=[NumCartItems]+1[/math] >[/LineItems] > >[LineItems] >[!]--START split up---[/!] > >[SetLineItem >cart=[cart]&index=[lineindex]&db=products.db]quantity=[NumInStock][/SetLin >eItem] >[AddLineItem >cart=[cart]&sku=[SKU]&db=products.db]quantity=[NumOuttaStock]&textA=[textA >]&textB=[textB]&textC=[textC][/AddLineItem] > > >[math]NumCartItems=[NumCartItems]+1[/math] >[!]--END split up---[/!] >[/LineItems] > >Do I have it right? Comprehensive enough to not miss anything?Other that flipping the order of incrementing NumCartItems and setting your hidden field, it looks like it would work! : )[math]NumCartItems=[NumCartItems]+1[/math] Rob Marquardt Designer/Resident Wirehead Toast Design800 Washington Avenue North Minneapolis MN 55401 612.330.9863 v 612.321.9424 f www.toastdesign.com ------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go 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:

    
  1. Re: how to know the [LineIndex] number webcat generated during a [AddLineItem]? (Rob Marquardt 2000)
On 1/14/00 12:55 pm, John Butler so noted...>Rob, you mean something like this- (?) > >[math]NumCartItems=0[/math] > >[lineitems] >[math]NumCartItems=[NumCartItems]+1[/math] >[/LineItems] > >[lineitems] >[!]--START split up---[/!] > >[SetLineItem >cart=[cart]&index=[lineindex]&db=products.db]quantity=[NumInStock][/SetLin >eItem] >[AddLineItem >cart=[cart]&sku=[SKU]&db=products.db]quantity=[NumOuttaStock]&textA=[textA >]&textB=[textB]&textC=[textC][/AddLineItem] > > >[math]NumCartItems=[NumCartItems]+1[/math] >[!]--END split up---[/!] >[/LineItems] > >Do I have it right? Comprehensive enough to not miss anything?Other that flipping the order of incrementing NumCartItems and setting your hidden field, it looks like it would work! : )[math]NumCartItems=[NumCartItems]+1[/math] Rob Marquardt Designer/Resident Wirehead Toast Design800 Washington Avenue North Minneapolis MN 55401 612.330.9863 v 612.321.9424 f www.toastdesign.com ------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go 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 Rob Marquardt

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:

WC3 and SSL on NT (1998) Request for page test (2003) WebCat2 - Getting to the browser's username/password data (1997) multi-paragraph fields (1997) RAM variables (1997) writing orders to a db (1997) Shoppingcart passing price (2000) The evolved Server Configuration Queston (2000) Re:E-mailer application times out (1998) SiteEdit Pro Update Announcement (1997) Claris HomePage messes up the code (1997) What is this error message? (2006) Emailer (1997) Date problems (1997) Logging purchases (1997) WebCat2b13 Mac plugin - [sendmail] and checkboxes (1997) Re:quit command on NT (1997) [BULK] Fwd: [WebDNA] [BULK] WebDNA discovery in the Console - [having many crashes] (2011) SSL and reg web* (1997) Extended [ConvertChars] (1997)