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 Marquardt Designer/Resident Wirehead Toast Design800 Washington Avenue North Minneapolis MN 55401 612.330.9863 v 612.321.9424 f www.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:

    
  1. Re: Problem 2 of 2 (was: Shipping Confusion) (Christopher Mackay 2000)
  2. Re: Problem 2 of 2 (was: Shipping Confusion) (Christopher Mackay 2000)
  3. Re: Problem 2 of 2 (was: Shipping Confusion) (Rob Marquardt 2000)
  4. Re: Problem 2 of 2 (was: Shipping Confusion) (John Peacock 2000)
  5. Re: Problem 2 of 2 (was: Shipping Confusion) (John Butler 2000)
  6. Re: Problem 2 of 2 (was: Shipping Confusion) (Christopher Mackay 2000)
  7. Re: Problem 2 of 2 (was: Shipping Confusion) (John Peacock 2000)
  8. Re: Problem 2 of 2 (was: Shipping Confusion) (Christopher Mackay 2000)
  9. Re: Problem 2 of 2 (was: Shipping Confusion) (John Butler 2000)
  10. Problem 2 of 2 (was: Shipping Confusion) (Christopher Mackay 2000)
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 Marquardt Designer/Resident Wirehead Toast Design800 Washington Avenue North Minneapolis MN 55401 612.330.9863 v 612.321.9424 f www.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:

Encrypted Databases (2000) Problems w/ heavy use of cart header fields? (1998) [Webcat 2]Next (1997) how to check for no value while using [URL] to prevent cr (1999) unable to launch acgi in WebCat (1997) NewCart+Search with one click ? (1997) Multiple catalog databases and showcart (1997) Re:quit command on NT (1997) PDF on the fly - how to? (2005) WebCatalog 2.0 & WebDNA docs in HTML ... (1997) [WebDNA] [BULK] looking for the holy grail of hosting still (2013) Add more fields to an existent data base (1997) Three new problems, maybe a fourth (1997) [WebDNA] Receive JSON POST (2019) [WebDNA] Talklist Archive & Twitter (2009) problems with 2 tags (1997) notification solutions (1997) Setting up shop (1997) Netscape (2002) Emailer help....! (1997)