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:

Help! WebCat2 bug (1997) Extended [ConvertChars] (1997) tcpsend (2001) Running _every_ page through WebCat-error.html (1997) Possible Bug in 2.0b15.acgi (1997) searching with groups (1997) Avery 5160 Mailing Labels (2003) Maybe off topic but how to charge (1997) Replace Statement (1997) Emailer Set Up (1997) [isfile] ? (1997) URL encoding (1998) ugly math date (2002) Newbie questions (1999) Web Catalog 2 demo (1997) Sort of a Dilema! (1998) Mac v. NT (1998) WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997) Auto Submit (2000) Re[2]: [OT] .php3 extension (2000)