Re: Problem 2 of 2 (was: Shipping Confusion)
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 35309
interpreted = N
texte = On 7/27/00 4:32 pm, Christopher Mackay so noted...>The code (with thanks to John Butler and John Peacock) looks like this:>>[!]This checks the cart for posters, and adds a mailing tube if it >finds one![/!]>>[lineitems]>[showif [url][itemType][/url]=poster]>[text show=F]needsTube=yes[/text]>[/showif]>[/lineitems]>>[hideif [url][SKU][/url]=10001]>[showif [url][needsTube][/url]=yes]>[AddLineItem cart=[cart]&db=tantramar_publishing.db&sku=10001][/AddLineItem]>[/showif]>[/hideif]>>>It's adding the mailing tube okay, but the [hideif] context doesn't >prevent it from adding more mailing tubes, which to my eye, it >should. Can anyone spot the problem?[!]This checks the cart for posters, and adds a mailing tube if it finds one![/!][lineitems][showif [url][itemType][/url]=poster][showif [hasTube]!yes][text]hasTube=yes[/text][AddLineItem cart=[cart]&db=tantramar_publishing.db&sku=10001][/AddLineItem][/showif][/showif][/lineitems]Rob MarquardtDesigner/Resident WireheadToast Design800 Washington Avenue NorthMinneapolis MN 55401612.330.9863 v612.321.9424 fwww.toastdesign.com-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list
.To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
On 7/27/00 4:32 pm, Christopher Mackay so noted...>The code (with thanks to John Butler and John Peacock) looks like this:>>[!]This checks the cart for posters, and adds a mailing tube if it >finds one![/!]>>[lineitems]>[showif [url][itemType][/url]=poster]>[text show=F]needsTube=yes[/text]>[/showif]>[/lineitems]>>[hideif [url][SKU][/url]=10001]>[showif [url][needsTube][/url]=yes]>[AddLineItem cart=[cart]&db=tantramar_publishing.db&sku=10001][/AddLineItem]>[/showif]>[/hideif]>>>It's adding the mailing tube okay, but the [hideif] context doesn't >prevent it from adding more mailing tubes, which to my eye, it >should. Can anyone spot the problem?[!]This checks the cart for posters, and adds a mailing tube if it finds one![/!][lineitems][showif [url][itemType][/url]=poster][showif [hasTube]!yes][text]hasTube=yes[/text][AddLineItem cart=[cart]&db=tantramar_publishing.db&sku=10001][/AddLineItem][/showif][/showif][/lineitems]Rob MarquardtDesigner/Resident WireheadToast Design800 Washington Avenue NorthMinneapolis MN 55401612.330.9863 v612.321.9424 fwww.toastdesign.com-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Rob Marquardt
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:
Preventng cacheing (2000)
Search design (1997)
WebCat2b13MacPlugIn - [include] doesn't allow creator (1997)
Logic Help Needed (2003)
Shell script within a sandbox (2005)
WebCatalog for guestbook ? (1997)
re:check boxes (1997)
[SearchString] usage (1997)
Plugin or CGI or both (1997)
Re:Multiple SSL Keys (1998)
File Uploads... (1997)
Some ThankYou page problems (1997)
Multiple prices (1997)
Simple way to create unique SKU (1997)
can WC render sites out? (1997)
Multi Actions (1999)
Sending an email to all )or some) email addresses int he database (1999)
Editing Users.db (1997)
test (2004)
WebCat NT v. Mac (1997)