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 therereally isn't much to the code.You need to troubleshoot on all the variables to makesure 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 resultsand we'll go from there.Donovan-- Donovan D. Brooke PH: 1 (608) 770-3822------------------------------------------------VPWebDNA Software Corporation16192 Coastal HighwayLewes, DE 19958
Associated Messages, from the most recent to the oldest:
Ki, your first snippet was a bit better and therereally isn't much to the code.You need to troubleshoot on all the variables to makesure 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 resultsand we'll go from there.Donovan-- Donovan D. Brooke PH: 1 (608) 770-3822------------------------------------------------VPWebDNA Software Corporation16192 Coastal HighwayLewes, 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)