[ic] Problem with blank_label
Gert van der Spoel
gert at 3edge.com
Mon Apr 21 22:36:10 UTC 2008
> -----Original Message-----
> From: interchange-users-bounces at icdevgroup.org [mailto:interchange-
> users-bounces at icdevgroup.org] On Behalf Of Shirley Studebaker
> Sent: maandag 21 april 2008 21:08
> To: interchange-users at icdevgroup.org
> Subject: [ic] Problem with blank_label
>
> Sorry for the repeat post but I am stuck on this one problem and can't
> move forward until I solve it...
>
> We are using Interchange 5.2.0.
>
> I am building item options based on the color(sku) selected and want
> the first option to be "select size". Here is the code I am using:
>
> <div id="opt_container" style="position:relative; width:200">
> [loop prefix="item" search="co=yes/fi=products/se=beachCollar/
> sf=subcat/se=Collar/sf=category/tf=unused"]
> <div id="opt[item-field sku]" style="position:absolute; z-
> index:1;
> left: 0px; top: 0px; width:200; visibility: visible">
> [table-organize cols=2 table=' ' pretty=1]
> [item-options td=1 bold=1
blank_label="select
> size"]
> [/table-organize]
> </div>
> [/loop]
> </div>
>
> The blank_label call in item-options seems to do nothing.
>
> There is an example page at http://www.tailwags.com/cgi-
> bin/tailwags/TWBeach3.html
> . I am calling the blank_label on the size for the collars. I REALLY
> need this part of the code to force the customer to make a selection.
If you're using Matrix options there is an example in the demo site that
comes together with Interchange.
The code is on flypage.html
One difference there is that it has 'label=1' set ... I've never used
options so I'm not familiar with the internals.
Nifty piece of code though ;)
CU,
Gert
More information about the interchange-users
mailing list