Re: Cart questions

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 13886
interpreted = N
texte = GrantThanks for the extremely quick response on my last post. The workaround for item 1 worked perfect. Is there any way to create a text variable?I am still struggling with my duplicate sku routine, this is what I have tried so far:[formvariables] [showif [value]=on] name:[name]
[orderfile cart=[cart]][lineitems] comparing sku:[SKU] in orderfile to name:[name]
[showif [name]=[SKU]] This sku exists already
[/showif] [/lineitems][/orderfile] [showif [math]ctr[/math]=1] adding [name]
[addlineitem cart=[cart]&db=[db]&SKU=[name]]&quantity=1[/addlineitem] [/showif] [/showif] [/formvariables]Any suggestions? If this can't be done it is not a show stopper, but it would sure be nice.Cheers Paul Winchester Seattle Support Group Associated Messages, from the most recent to the oldest:

    
  1. Re: More Shopping Cart Questions/Problems (Brian Boegershausen 2000)
  2. More Shopping Cart Questions/Problems (Brady J. Horenstein 2000)
  3. RE: Shopping Cart Questions (PCS Technical Support 1998)
  4. RE: Shopping Cart Questions (Pat McCormick 1998)
  5. RE: Shopping Cart Questions (josh 1998)
  6. Re: Shopping Cart Questions (Rob Marquardt 1998)
  7. Shopping Cart Questions (josh 1998)
  8. RE: Shopping Cart Questions (Pat McCormick 1998)
  9. Price lookup problem - was Re: Cart questions (Paul Winchester 1997)
  10. Re: Cart questions (Grant Hulbert 1997)
  11. Re: Cart questions (Grant Hulbert 1997)
  12. Re: Cart questions (Paul Winchester 1997)
  13. Re: Cart questions (Paul Winchester 1997)
  14. Re: Cart questions (Grant Hulbert 1997)
  15. Cart questions (Paul Winchester 1997)
  16. three cart questions (Thomas Wedderburn-Bisshop 1997)
GrantThanks for the extremely quick response on my last post. The workaround for item 1 worked perfect. Is there any way to create a text variable?I am still struggling with my duplicate sku routine, this is what I have tried so far:[formvariables] [showif [value]=on] [math]ctr=1[/math]> name:[name]
[orderfile cart=[cart]][lineitems] comparing sku:[SKU] in orderfile to name:[name]
[showif [name]=[SKU]] [math]ctr=0[/math]> This sku exists already
[/showif] [/lineitems][/orderfile] [showif [math]ctr[/math]=1] adding [name]
[addlineitem cart=[cart]&db=[db]&SKU=[name]]&quantity=1[/addlineitem] [/showif] [/showif] [/formvariables]Any suggestions? If this can't be done it is not a show stopper, but it would sure be nice.Cheers Paul Winchester Seattle Support Group Paul Winchester

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:

Emailer choke (1997) Encyption mail was Suggestions for Topics ... (1998) [WebDNA] MD5 encryption (2011) ListFiles bug v3.0 OSX (2000) WCf2 and nested tags (1997) NT Woes (1997) Unable to view next 101-200 (1997) three cart questions (1997) hideif/showif causes error if wrapped around searches (2003) Anone ever make an alphabetical shownext? (2000) WebCatalog 2.0 b 15 mac (1997) Mac Vs WindowsNT (1997) Using [showif] within [lineitems] [code fragment] (2000) NetForms for email (1998) Security (1998) searching within same page (2000) Adding Message to Order (1997) Word search (1997) shoppingcart reload qty (1997) WebCat2 as a chat server? (1997)