Re: Thanks and new Question on lineitems
This WebDNA talk-list message is from 2002
It keeps the original formatting.
numero = 43642
interpreted = N
texte = Thanks Robert, sorry for not giving the correct info in the first place.One more thingIs it possible to remove duplicates so only one of each item can be added tothe cart and if the user adds another its either ignored or removed.I havent given the option of quantity deliberately but you can still add thesame item twice and I need to stop thisMany thanksPaul----- Original Message -----From: Robert Wade
To: WebCatalog Talk Sent: Friday, September 20, 2002 6:57 PMSubject: Re: Showing formatted results in tables> Your original post said The results of a search. I wasn't aware youwere listing> lineitems. You would need to use [lineindex] rather than [index].[index] is not> a parameter of [lineitems].>> Paul Berman wrote:>> > Hi> >> > [showif [index]\2][/showif] isnt working> >> > I am listing the[orderfile] [lineitems]> > and I need them in pairs thsi doesnt seem to work inside these tags> >> > Just keep getting new rows> >> > Which tag or variable can I use inside this> >> > Thanks> > paul> >> > ----- Original Message -----> > From: Robert Wade > > To: WebCatalog Talk > > Sent: Friday, September 20, 2002 6:34 PM> > Subject: Re: Showing formatted results in tables> >> > > > > > > > > [founditems]> > >> > > [your stuff here] | > > >> > > [showif [index]\2]
[/showif]> > >> > > [/founditems]> > >
> > >
> > >> > > Try this. This will simply add a closing row tag and start a new oneof> > the index> > > of the founditem in the loop is divisible by 2. I think it's correct,I> > wrote it> > > out pretty quick.> > >> > > -Robert> > >> > > Paul Berman wrote:> > >> > > > Hi> > > >> > > > I need to show the results of a search in a table that is two rowswide> > with> > > > one result per cell and then produce the next table row.> > > >> > > > I either get them all in one row or one column> > > >> > > > I know its someting simple but its friday> > > >> > > > 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://search.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://search.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://search.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://search.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://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Thanks Robert, sorry for not giving the correct info in the first place.One more thingIs it possible to remove duplicates so only one of each item can be added tothe cart and if the user adds another its either ignored or removed.I havent given the option of quantity deliberately but you can still add thesame item twice and I need to stop thisMany thanksPaul----- Original Message -----From: Robert Wade To: WebCatalog Talk Sent: Friday, September 20, 2002 6:57 PMSubject: Re: Showing formatted results in tables> Your original post said The results of a search. I wasn't aware youwere listing> lineitems. You would need to use [lineindex] rather than [index].[index] is not> a parameter of [lineitems].>> Paul Berman wrote:>> > Hi> >> > [showif [index]\2]
[/showif] isnt working> >> > I am listing the[orderfile] [lineitems]> > and I need them in pairs thsi doesnt seem to work inside these tags> >> > Just keep getting new rows> >> > Which tag or variable can I use inside this> >> > Thanks> > paul> >> > ----- Original Message -----> > From: Robert Wade > > To: WebCatalog Talk > > Sent: Friday, September 20, 2002 6:34 PM> > Subject: Re: Showing formatted results in tables> >> > > > > > > > > [founditems]> > >> > > [your stuff here] | > > >> > > [showif [index]\2]
[/showif]> > >> > > [/founditems]> > >
> > >
> > >> > > Try this. This will simply add a closing row tag and start a new oneof> > the index> > > of the founditem in the loop is divisible by 2. I think it's correct,I> > wrote it> > > out pretty quick.> > >> > > -Robert> > >> > > Paul Berman wrote:> > >> > > > Hi> > > >> > > > I need to show the results of a search in a table that is two rowswide> > with> > > > one result per cell and then produce the next table row.> > > >> > > > I either get them all in one row or one column> > > >> > > > I know its someting simple but its friday> > > >> > > > 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://search.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://search.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://search.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://search.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://search.smithmicro.com/
Paul Berman
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:
Pithy questions on webcommerce & siteedit (1997)
RE: Automatic Forwarding using WebCat (1997)
Almost There But? WebCat Keeps Changing Cart Numbers on Me! (2002)
multiple search commands (1997)
Non-Cart Files in Shopping Cart Folder (1997)
search command (1999)
Grouping items in results page (2000)
Using Plug-In while running 1.6.1 (1997)
French characters in variables (2001)
Email within tmpl ? (1997)
Before I Can Begin . . . (1998)
filemaker - orderfile (1997)
problems with 2 tags (1997)
WebDNA permissions? (2002)
Calculating Shipping charges for multiple items and qtys > 1 (1997)
New index for docs (1997)
forming a SKU (1999)
WebCat2: Items xx to xx shown, etc. (1997)
mass mailing (1998)
WebCat virtual postcard is done! Thanks for the help! (1998)