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 = 26166
interpreted = N
texte = 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][/SetLineItem] [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?-JohnRob Marquardt wrote:> On 1/14/00 11:46 am, John Butler so noted... > > >how do I determine what > >is the LineIndex number for the lineitem webcat just added while executing > >the [AddLineItem]...[/AddLineItem]? > > It's going to be the total number of items in your cart before the split, > plus one. Be sure your routine that does the splitting tracks how many > splits are done, since multiple splits could occur in a single order. > > Rob Marquardt > Designer/Resident Wirehead > Toast Design > > 800 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 ------------------------------------------------------------- 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]? (John Butler 2000)
  2. Re: how to know the [LineIndex] number webcat generated during a [AddLineItem]? (John Butler 2000)
  3. Re: how to know the [LineIndex] number webcat generated during a [AddLineItem]? (Rob Marquardt 2000)
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][/SetLineItem] [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?-JohnRob Marquardt wrote:> On 1/14/00 11:46 am, John Butler so noted... > > >how do I determine what > >is the LineIndex number for the lineitem webcat just added while executing > >the [addlineitem]...[/AddLineItem]? > > It's going to be the total number of items in your cart before the split, > plus one. Be sure your routine that does the splitting tracks how many > splits are done, since multiple splits could occur in a single order. > > Rob Marquardt > Designer/Resident Wirehead > Toast Design > > 800 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 ------------------------------------------------------------- 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 John Butler

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:

Visitor info (2000) [cart] not being interpreted inside [founditems] (1997) RE: Displaying Location (1997) OLD ORDERS (1998) Cart Numbers (1997) Has anyone used SecurePay for credit card payments? (2005) Secure Server (1997) UPS uber integration (2007) suffix mapping for NT? (1997) WebCat for News Gathering (1999) WebDNA on OS X Tiger (2006) another problem (1997) Beta and new version questions? (1998) Virtual Postcard almost complete... (1998) 2.01 upgrade problems (1997) RE: Problems with shopping cart (1997) 2.0Beta Command Ref (can't find this instruction) (1997) [SHOWIF] (1997) Hiding HTML and breaking the page (1997) emailer (1997)