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:
Quit revisited (1997)
What file? (1997)
Signal Raised Error (1997)
Sorting error (1997)
shownext (1997)
WC2f3 (1997)
Almost a there but..bye bye NetCloak (1997)
Comments in db? (1997)
[date format] w/in sendmail (1997)
no global [username] or [password] displayed ... (1997)
no global [username] or [password] displayed ... (1997)
WebCat2 - Getting to the browser's username/password data (1997)
PCS Frames (1997)
Classified (1999)
Problem displaying search result (1997)
HTML encoding in URLs (1997)
[WebDNA] Cost to upgrade WebDNA 6.2 to run on Win2008 / Win7 (2012)
Character limit in [Search]? (1998)
Setting user and password (1999)
help needed: Non-english characters in WebCatalog (1997)