more info on [setlineitems]

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 12404
interpreted = N
texte = Can someone give me a little more info on the [setlineitems] command? I have scoured the manuals and have found it to be useless in for real implementation of this command.As you might know from this email list, that I am having problems with users putting in quantities that are lower than the minimum I have set.Now, it looks like I can do it with the command Grant gave me[ShowIf QUANTITYNEEDSCHANGING] [SetLineItem cart=[cart]&index=[NumLineItems]&db=my.db]quantity=NEWQUANTITYVALUE[/SetLineItem ] [/ShowIf]Question 1: I am not sure where to put this when using the $add command. Is it in my regular store page (that lists all the products), or in my cart page.Question 2: If the latter is true, do I put this before my regular line items in the cart.tmpl page or after?Sorry for all the silly questions but I have to have this site up by next week and I am in near panic mode.Thanks, Kevin Associated Messages, from the most recent to the oldest:

    
  1. Re: more info on [setlineitems] (Grant Hulbert 1997)
  2. more info on [setlineitems] (Kevin Furuta 1997)
Can someone give me a little more info on the [setlineitems] command? I have scoured the manuals and have found it to be useless in for real implementation of this command.As you might know from this email list, that I am having problems with users putting in quantities that are lower than the minimum I have set.Now, it looks like I can do it with the command Grant gave me[ShowIf QUANTITYNEEDSCHANGING] [SetLineItem cart=[cart]&index=[NumLineItems]&db=my.db]quantity=NEWQUANTITYVALUE[/SetLineItem ] [/ShowIf]Question 1: I am not sure where to put this when using the $add command. Is it in my regular store page (that lists all the products), or in my cart page.Question 2: If the latter is true, do I put this before my regular line items in the cart.tmpl page or after?Sorry for all the silly questions but I have to have this site up by next week and I am in near panic mode.Thanks, Kevin Kevin Furuta

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:

programmer help needed (1998) [convertchars] limits (1998) Credit Card Number checking (1997) bug in [SendMail] (1997) Pass a form (2003) carriage returns in data (1997) [WebDNA] error on mirror site (2015) The future of WebCatalog is coming with 4.0... (2000) IE 6 weirdness ??? (2002) NumFound (1999) # fields limited? (1997) WebCatalog Technical Reference (1997) Banners and sort of random display (1997) log out (2001) headers (2004) [WebDNA] Version 7 Config problem (2011) serial number generation (1997) Emailer Blackmail (1998) Probably a very simple question? (1997) How do you hide [math]stuff[/math] (1997)