Re: Question on lineitems

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 43674
interpreted = N
texte = HiI am using the idea you gave me yesterday, it works fine if I add a single item that is already in the orderfile but if I add two it adds themI am using to select the items to be added which works fineWhat is the variable that goes in here[orderfile] [lineItems] [showif [url][sku][/url]=[here!!]] [text]failed=T[/text] [/showif] [/lineItems][/orderfile]to set the failed=TI cant see where I have sceeewed upThanks----- Original Message ----- From: NovaDerm Skincare Science To: WebCatalog Talk Sent: Saturday, September 21, 2002 4:48 PM Subject: Re: Thanks and new Question on lineitems > Paul- > > Read my response from yesterday. It handles this exact problem. > > Go here and try your best to add duplicate items to the shopping cart > --> > > http://www.novaderm.com > > > Will Starck > NovaDerm Skincare Science > http://www.novaderm.com > wjs@novaderm.com > > > On Saturday, September 21, 2002, at 05:32 AM, Paul Berman wrote: > > > Hi > > > > The problem I have with this is that the prodcut selection page allow > > you to > > tick several tick boxes so you can add say 5 items at a time. > > > > Then you can go back and add the same 5 again > > > > What I really need is to get only the unique ones added and the others > > ignored or the orderfile > > > > Thanks > > Paul > > ----- Original Message ----- > > From: Daryl Mitchell > > To: WebCatalog Talk > > Sent: Friday, September 20, 2002 7:53 PM > > Subject: 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 > >>> added > > to > >>> 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 > >>> add > > the > >>> 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/ > > > > > ------------------------------------------------------------- > 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:

    
  1. Re: Question on lineitems (Paul 2002)
  2. Re: Question on lineitems (NovaDerm Skincare Science 2002)
  3. Re: Question on lineitems (NovaDerm Skincare Science 2002)
  4. Re: Question on lineitems (NovaDerm Skincare Science 2002)
  5. Re: Question on lineitems (Paul Berman 2002)
  6. Re: Thanks and new Question on lineitems (NovaDerm Skincare Science 2002)
  7. Re: Thanks and new Question on lineitems (Paul Berman 2002)
  8. Re: Thanks and new Question on lineitems (NovaDerm Skincare Science 2002)
  9. Re: Thanks and new Question on lineitems (Paul 2002)
  10. Re: Thanks and new Question on lineitems (Daryl Mitchell 2002)
  11. Re: Thanks and new Question on lineitems (Robert Wade 2002)
  12. Re: Thanks and new Question on lineitems (Paul Berman 2002)
HiI am using the idea you gave me yesterday, it works fine if I add a single item that is already in the orderfile but if I add two it adds themI am using[url][SKU][/url]> to select the items to be added which works fineWhat is the variable that goes in here[orderfile] [lineitems] [showif [url][sku][/url]=[here!!]] [text]failed=T[/text] [/showif] [/lineItems][/orderfile]to set the failed=TI cant see where I have sceeewed upThanks----- Original Message ----- From: NovaDerm Skincare Science To: WebCatalog Talk Sent: Saturday, September 21, 2002 4:48 PM Subject: Re: Thanks and new Question on lineitems > Paul- > > Read my response from yesterday. It handles this exact problem. > > Go here and try your best to add duplicate items to the shopping cart > --> > > http://www.novaderm.com > > > Will Starck > NovaDerm Skincare Science > http://www.novaderm.com > wjs@novaderm.com > > > On Saturday, September 21, 2002, at 05:32 AM, Paul Berman wrote: > > > Hi > > > > The problem I have with this is that the prodcut selection page allow > > you to > > tick several tick boxes so you can add say 5 items at a time. > > > > Then you can go back and add the same 5 again > > > > What I really need is to get only the unique ones added and the others > > ignored or the orderfile > > > > Thanks > > Paul > > ----- Original Message ----- > > From: Daryl Mitchell > > To: WebCatalog Talk > > Sent: Friday, September 20, 2002 7:53 PM > > Subject: 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 > >>> added > > to > >>> 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 > >>> add > > the > >>> 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/ > > > > > ------------------------------------------------------------- > 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:

Bug? (1997) Off Topic: Frames Killer? (1998) Best Platform (2000) WC1.6 to WC2 date formatting -FIXED! (1997) protect tag on NT IIS (1997) browser info.txt and SSL (1997) WebDNA 4.5 not starting on boot? (2002) Odd Cart Behavior (1997) TeaRoom Order fields email account remain empty even thoughthewy are filled. (1997) WebDNA Solutions ... sorry! (1997) trigger to tcpconnect fails the first time ... (2002) How to Display text in empty fields (1997) WebCat Error Log problem (2.0.1, acgi, Mac) (1997) Carrying Forward (1998) Order not created error (never mind) (1997) Great product and great job ! (1997) Interfacing WebMerchant to www.fedex.com (1997) WebCat2 - Getting to the browser's username/password data (1997) won't serve .tpl (2000) errors 550, and 108 (1998)