Re: Thanks and new Question on lineitems
This WebDNA talk-list message is from 2002
It keeps the original formatting.
numero = 43667
interpreted = N
texte = HiThe problem I have with this is that the prodcut selection page allow you totick several tick boxes so you can add say 5 items at a time.Then you can go back and add the same 5 againWhat I really need is to get only the unique ones added and the othersignored or the orderfileThanksPaul----- Original Message -----From: Daryl Mitchell
To: WebCatalog Talk Sent: Friday, September 20, 2002 7:53 PMSubject: Re: Thanks and new Question on lineitems> Something like this should work:>> [lineItems]> [showif [url][sku][/url]=[url][item_sku_being_added][/url]]> [text]failed=T[/text]> [/showif]> [/lineItems]> [showif [failed]=T]> Sorry, you already have that item in your cart. Please choose a> different item.
> [/showif]> [hideif [failed]=T]> [addlineitem cart=[cart]&sku=[sku]&db=products.db]quantity=1& ...> other parameters ...[/addlineitem]> Item added to the cart.
> [/hideif]>> >Thanks Robert, sorry for not giving the correct info in the first place.> >> >One more thing> >> >Is it possible to remove duplicates so only one of each item can be addedto> >the cart and if the user adds another its either ignored or removed.> >> >I havent given the option of quantity deliberately but you can still addthe> >same item twice and I need to stop this>> -->> Daryl Mitchell> E-Business Specialist, PW Group> Saskatoon, SK CANADA> Tel: (306) 665-3557> Toll-free: (800) 291-9935> Fax: (306) 653-1255> E-Mail: d.mitchell@pwgroup.ca> Web: http://www.pwgroup.ca/>> -------------------------------------------------------------> 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:
HiThe problem I have with this is that the prodcut selection page allow you totick several tick boxes so you can add say 5 items at a time.Then you can go back and add the same 5 againWhat I really need is to get only the unique ones added and the othersignored or the orderfileThanksPaul----- Original Message -----From: Daryl Mitchell To: WebCatalog Talk Sent: Friday, September 20, 2002 7:53 PMSubject: Re: Thanks and new Question on lineitems> Something like this should work:>> [lineitems]> [showif [url][sku][/url]=[url][item_sku_being_added][/url]]> [text]failed=T[/text]> [/showif]> [/lineItems]> [showif [failed]=T]> Sorry, you already have that item in your cart. Please choose a> different item.
> [/showif]> [hideif [failed]=T]> [addlineitem cart=[cart]&sku=[sku]&db=products.db]quantity=1& ...> other parameters ...[/addlineitem]> Item added to the cart.
> [/hideif]>> >Thanks Robert, sorry for not giving the correct info in the first place.> >> >One more thing> >> >Is it possible to remove duplicates so only one of each item can be addedto> >the cart and if the user adds another its either ignored or removed.> >> >I havent given the option of quantity deliberately but you can still addthe> >same item twice and I need to stop this>> -->> Daryl Mitchell> E-Business Specialist, PW Group> Saskatoon, SK CANADA> Tel: (306) 665-3557> Toll-free: (800) 291-9935> Fax: (306) 653-1255> E-Mail: d.mitchell@pwgroup.ca> Web: http://www.pwgroup.ca/>> -------------------------------------------------------------> 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:
TRAINING videos - Prove IT. (1998)
Robots fill event log (1997)
showif comparison begins w/ and contains (1997)
Running 2 two WebCatalog.acgi's (1996)
Trying to find information. (2001)
about this server and links to who (1997)
Quickie question on the email templates (1997)
Almost a there but..bye bye NetCloak (1997)
Country & Ship-to address & other fields ? (1997)
users change an email address (2002)
What am I missing (1997)
fieldType=num (1997)
Multi-processor Mac info ... (1997)
Re[2]: OT: Sending email to lots of subscribers (1999)
I give up!! (1997)
docs for WebCatalog2 (1997)
Download URL & access on the fly ? (1997)
Help formatting search results w/ table (1997)
Using webcat to roll apache logs (2002)
Triggers Suck! (2000)