Bannersleuth

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 26162
interpreted = N
texte = I am testing Bannersleuth and am on the brink of buying, but like to hear bout some experiences with it. Especially if anyone know of any substantial limitations.Thanks,Alex Cheparev Web Developer Spec Simple, Inc.-----Original Message----- From: WebCatalog Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf Of John Butler Sent: Friday, January 14, 2000 12:46 PM To: WebCatalog Talk Subject: how to know the [LineIndex] number webcat generated during a [AddLineItem]? Hi :-) This looks tricky but is not really.On my invoice template I check to see if any lineitem in the person's OderFile has a quantity which is greater than what is in stock... (I store the stock# in the products.db) If so, I want to break the lineitem into 2 lineitems (one with a quantity equal to what is in stock and one with a quantity of the difference). I think I am working out the code well, but am stuck on this one point-...we're now inside a [showif] context (which is inside the OrderFile's [lineitems] context) which only executes when the lineitem does need to be split into 2 lineitems.[!]--START split up---[/!] [SetLineItem cart=[cart]&index=[lineindex]&db=products.db]quantity=[NumInStock][/SetLineI tem] [AddLineItem cart=[cart]&sku=[SKU]&db=products.db]quantity=[NumOuttaStock]&textA=[textA]& textB=[textB]&textC=[textC][/AddLineItem] [!]--END split up---[/!]I am ready to test, but how can I get the proper name for that hidden input? For each lineitem I pass a yes or no for this variable depending on whether or not the item is in stock. Easy to make the name of the hidden variable unique for each lineitem when handling a lineitem that has not just been split up (... etc. ) ... but when creating the new lineitem in the above [!]--START split up---[/!]....see above....[!]--END split up---[/!], how do I determine what is the LineIndex number for the lineitem webcat just added while executing the [AddLineItem]...[/AddLineItem]?-John ------------------------------------------------------------- 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: Webcat bannersleuth Qs (Bob Minor 2001)
  2. Re: Webcat bannersleuth Qs (Patrick O'Brien 2001)
  3. Re: Webcat bannersleuth Qs (Ron Ceballos 2001)
  4. Re: Webcat bannersleuth Qs (Jeff Logan 2001)
  5. Webcat bannersleuth Qs (Ron Ceballos 2001)
  6. Appended records getting deleted (in BannerSleuth) (Jaishankar Jayaram 2000)
  7. Bannersleuth (Alex Cheparev 2000)
  8. ANNC: BannerSleuth v2.0 Beta 1 (Bob Minor 1999)
I am testing Bannersleuth and am on the brink of buying, but like to hear bout some experiences with it. Especially if anyone know of any substantial limitations.Thanks,Alex Cheparev Web Developer Spec Simple, Inc.-----Original Message----- From: WebCatalog Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf Of John Butler Sent: Friday, January 14, 2000 12:46 PM To: WebCatalog Talk Subject: how to know the [LineIndex] number webcat generated during a [addlineitem]? Hi :-) This looks tricky but is not really.On my invoice template I check to see if any lineitem in the person's OderFile has a quantity which is greater than what is in stock... (I store the stock# in the products.db) If so, I want to break the lineitem into 2 lineitems (one with a quantity equal to what is in stock and one with a quantity of the difference). I think I am working out the code well, but am stuck on this one point-...we're now inside a [showif] context (which is inside the OrderFile's [lineitems] context) which only executes when the lineitem does need to be split into 2 lineitems.[!]--START split up---[/!] [SetLineItem cart=[cart]&index=[lineindex]&db=products.db]quantity=[NumInStock][/SetLineI tem] [AddLineItem cart=[cart]&sku=[SKU]&db=products.db]quantity=[NumOuttaStock]&textA=[textA]& textB=[textB]&textC=[textC][/AddLineItem] [!]--END split up---[/!]I am ready to test, but how can I get the proper name for that hidden input? For each lineitem I pass a yes or no for this variable depending on whether or not the item is in stock. Easy to make the name of the hidden variable unique for each lineitem when handling a lineitem that has not just been split up (... etc. ) ... but when creating the new lineitem in the above [!]--START split up---[/!]....see above....[!]--END split up---[/!], how do I determine what is the LineIndex number for the lineitem webcat just added while executing the [addlineitem]...[/AddLineItem]?-John ------------------------------------------------------------- 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 Alex Cheparev

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:

FM 4.1 and Webcat? (1998) RE: Credit card processing - UK (1997) Webcatalog acgi conflict? (1999) Server Freeze (1998) Reversed words (1997) b12 cannot limit records returned and more. (1997) [ShowNext] (1997) Change in Host? (1999) [OT] Bad Cookie / Internet Option / Internet Explorer (2004) Tracking (2004) Replto in [SendMail] (2000) Appending current [date] to a database (1997) WebCat b13 CGI -shownext- (1997) [WebDNA] An unknown error occured // Deadlock avoided (2011) New Site Announcement (1998) Followup question re: checksum for credit cards? (1997) Image upload (2000) searchable list archive (1997) [/application] error? (1997) rotating thumbnails (1997)