small hairball -- stuck on [showif] for related db
This WebDNA talk-list message is from 1998
It keeps the original formatting.
numero = 21139
interpreted = N
texte = OK, am feeling brain dead. Wonder if someone can offer some suggestions --either what I'm missing or better yet, a simpler way -- on the following...I have certain SKUs that a customer may customize. For these SKUs, I wantto send them to a separate page to provide the customization info (for now,simple text field in a form).The problem I'm having is in using a [showif] so that the FORM sends thecustomer to the customize page next instead of the shopping cart page.What makes this a small hairball (at least for me) is that the SKUs arein a related db, not the catalog.db that's been searched up to this point.So I want to do this...1) search the pricing.db to see if the SKU selected can be customized([customized]=T)2) if the SKU can be customized, use [showif] so that the FORM action willsend the shopper to the Customize.tmpl nextI've tried surrounding the [showif] with a SEARCH context, but am missingsomething. Here's what I have so far:
[/FoundItems][/SEARCH]Any thoughts on how to remove this hairball before the weekend greatlyappreciated!Dale Stokdykdstokdyk@dvs.mv.com
Associated Messages, from the most recent to the oldest:
OK, am feeling brain dead. Wonder if someone can offer some suggestions --either what I'm missing or better yet, a simpler way -- on the following...I have certain SKUs that a customer may customize. For these SKUs, I wantto send them to a separate page to provide the customization info (for now,simple text field in a form).The problem I'm having is in using a
[showif] so that the FORM sends thecustomer to the customize page next instead of the shopping cart page.What makes this a small hairball (at least for me) is that the SKUs arein a related db, not the catalog.db that's been searched up to this point.So I want to do this...1) search the pricing.db to see if the SKU selected can be customized([customized]=T)2) if the SKU can be customized, use
[showif] so that the FORM action willsend the shopper to the Customize.tmpl nextI've tried surrounding the
[showif] with a SEARCH context, but am missingsomething. Here's what I have so far:
[/FoundItems][/SEARCH]Any thoughts on how to remove this hairball before the weekend greatlyappreciated!Dale Stokdykdstokdyk@dvs.mv.com
Dale Stokdyk
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:
Req: Array Tags Explained, simple and clear (2003)
[shell] (2002)
problems with 2 tags (1997)
2.0 Info (1997)
Unable to open the demo file (1998)
WebCat2 - storing unformatted date data? (1997)
[WebDNA] OT: length of an HTML form input's 'name' parameter? (2010)
problems with 2 tags (1997)
Help (1999)
two unique banners on one page (1997)
WebCat2: Found Items syntax, etc. (1997)
Multiple Pulldowns (1997)
What am I missing (1997)
can WC render sites out? (1997)
The max=0 issue is a bug ... CALL TO ACTION (2000)
test for John (1999)
SSL and reg web* (1997)
Macos8.6 to X migration problems (2000)
WebCat consulting $ (1998)
Re:WebCatalog f2 Installation (1997)