Re: [WebDNA] Shopping cart code debug

This WebDNA talk-list message is from

2009


It keeps the original formatting.
numero = 101932
interpreted = N
texte = Ki, your first snippet was a bit better and there really isn't much to the code. You need to troubleshoot on all the variables to make sure your values are comming through as expected. ====================================================== ====================================================== [text show=f]SPSubtotal=0[/text] [text show=f]SPQualify=f[/text] [text show=f]promoExists=f[/text] [lineitems] [showif [url][sku][/url]~SP] SKU: [SKU], price: [price], Qty: [quantity] [!] [showif [math show=f]SPSubtotal=[SPSubtotal]+([price]*[quantity])[/math]>99] [text show=f]SPQualify=t[/text] [/showif] [/!] [/showif] [/lineitems] [!][SPQualify],[SPSubtotal]I want to see what SPQualify and SPSubtotal are set to[/!] ====================================================== ====================================================== If this doesn't reveal anything for you, post the results and we'll go from there. Donovan -- Donovan D. Brooke PH: 1 (608) 770-3822 ------------------------------------------------ VP WebDNA Software Corporation 16192 Coastal Highway Lewes, DE 19958 Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Shopping cart code debug (Marc Thompson 2009)
  2. Re: [WebDNA] Shopping cart code debug (Ki Song 2009)
  3. Re: [WebDNA] Shopping cart code debug (Govinda 2009)
  4. Re: [WebDNA] Shopping cart code debug (Donovan Brooke 2009)
  5. Re: [WebDNA] Shopping cart code debug (Ki Song 2009)
  6. Re: [WebDNA] Shopping cart code debug (Govinda 2009)
  7. Re: [WebDNA] Shopping cart code debug (Govinda 2009)
  8. Re: [WebDNA] Shopping cart code debug ("Dan Strong" 2009)
  9. Re: [WebDNA] Shopping cart code debug (Donovan Brooke 2009)
  10. Re: [WebDNA] Shopping cart code debug (Ki Song 2009)
  11. [WebDNA] Shopping cart code debug (Ki Song 2009)
Ki, your first snippet was a bit better and there really isn't much to the code. You need to troubleshoot on all the variables to make sure your values are comming through as expected. ====================================================== ====================================================== [text show=f]SPSubtotal=0[/text] [text show=f]SPQualify=f[/text] [text show=f]promoExists=f[/text] [lineitems] [showif [url][sku][/url]~SP] SKU: [SKU], price: [price], Qty: [quantity] [!] [showif [math show=f]SPSubtotal=[SPSubtotal]+([price]*[quantity])[/math]>99] [text show=f]SPQualify=t[/text] [/showif] [/!] [/showif] [/lineitems] [!][SPQualify],[SPSubtotal]I want to see what SPQualify and SPSubtotal are set to[/!] ====================================================== ====================================================== If this doesn't reveal anything for you, post the results and we'll go from there. Donovan -- Donovan D. Brooke PH: 1 (608) 770-3822 ------------------------------------------------ VP WebDNA Software Corporation 16192 Coastal Highway Lewes, DE 19958 Donovan Brooke

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:

problem with applets embedded in tpl files (1997) no [search] with NT (1997) Nested search (1997) Stinkin' [Referrer] (1998) [ShowCart] and GET vs. POST (1997) Rss and Webcat and conversion (2006) Using [sendmail] for mass mailings (2001) Nested tags count question (1997) t or f (1997) WC2.0 Memory Requirements (1997) More on [purchase] (1998) email [title] (1997) All of a Sudden Type 2 errors (1999) [WebDNA] o search engines index .db files? (2009) Quitting WebMerchant ? (1997) NumFound (1999) Using [Include] Context (1999) PCS Frames (1997) searching results (1999) WebCatalog sales (1997)