Re: [WebDNA] Shopping cart code debug
This WebDNA talk-list message is from 2009
It keeps the original formatting.
numero = 101933
interpreted = N
texte = Do you have more than one lineitem with an SKU that starts with SP and is= over 100?-DanOn Thu, 05 Feb 2009 13:21:50 -0500 Ki Song
wrote:> Can you guys take a look at the code below:>=20> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D==3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D==3D=3D=3D=3D=3D> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D==3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D==3D=3D=3D=3D=3D> [text show=3Df]SPSubtotal=3D0[/text]> [text show=3Df]SPQualify=3Df[/text]> [text show=3Df]promoExists=3Df[/text]>=20> [lineitems]> [showif [url][sku][/url]~SP]> [showif [math show=3Df]SPSubtotal=3D[SPSubtotal]+([price]*[quantity])[=/math]>99]> [text show=3Df]SPQualify=3Dt[/text]> [/showif]> [/showif]> [/lineitems]> [SPQualify],[SPSubtotal][!]I want to see what SPQualify and SPSubtotal =are set to[/!]>=20> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D==3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D==3D=3D=3D=3D=3D> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D==3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D==3D=3D=3D=3D=3D>=20> I have an item in the cart that starts with SP and is over 100.> However, the variables show up as f and 0, respectively.>=20> Can you guys see anything wrong?>=20> ---------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us> old archives: http://dev.webdna.us/TalkListArchive/
Associated Messages, from the most recent to the oldest:
Do you have more than one lineitem with an SKU that starts with SP and is= over 100?-DanOn Thu, 05 Feb 2009 13:21:50 -0500 Ki Song wrote:> Can you guys take a look at the code below:>=20> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D==3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D==3D=3D=3D=3D=3D> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D==3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D==3D=3D=3D=3D=3D> [text show=3Df]SPSubtotal=3D0[/text]> [text show=3Df]SPQualify=3Df[/text]> [text show=3Df]promoExists=3Df[/text]>=20> [lineitems]> [showif [url][sku][/url]~SP]> [showif [math show=3Df]SPSubtotal=3D[SPSubtotal]+([price]*[quantity])[=/math]>99]> [text show=3Df]SPQualify=3Dt[/text]> [/showif]> [/showif]> [/lineitems]> [SPQualify],[SPSubtotal][!]I want to see what SPQualify and SPSubtotal =are set to[/!]>=20> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D==3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D==3D=3D=3D=3D=3D> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D==3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D==3D=3D=3D=3D=3D>=20> I have an item in the cart that starts with SP and is over 100.> However, the variables show up as f and 0, respectively.>=20> Can you guys see anything wrong?>=20> ---------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us> old archives: http://dev.webdna.us/TalkListArchive/
"Dan Strong"
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:
Shownext on AOL (2003)
Re:2nd WebCatalog2 Feature Request (1996)
restarting service remotely on NT (1997)
Performance Issue (2000)
WebCat2_Mac RETURNs in .db (1997)
WebCatlog vs ColdFusion White Paper (2000)
Quit revisited (1997)
tmpl Vs DB (1999)
Search group and ww (2003)
Fun with Dates - any progress? (1997)
Modifying order output (1997)
[WebDNA] anyone successfully using webdna with paypal's NVP (2008)
is [math] busted somehow in 3.05b10? (1999)
PCS Frames (1997)
Search design (1997)
Consulting in San Diego? (2000)
database size? (1997)
credit card authorization question (1997)
Verifying both name and password (was: THANKS) (1997)
Sorting by date (1997)