Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Interchange: users

Problem with blank_label

 

 

Interchange users RSS feed   Index | Next | Previous | View Threaded


shirley at 5btech

Apr 21, 2008, 11:08 AM

Post #1 of 3 (80 views)
Permalink
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.

Thanks for any help you can give me.
Shirley



_______________________________________________
interchange-users mailing list
interchange-users[at]icdevgroup.org
http://www.icdevgroup.org/mailman/listinfo/interchange-users


gert at 3edge

Apr 21, 2008, 3:36 PM

Post #2 of 3 (71 views)
Permalink
Re: Problem with blank_label [In reply to]

> -----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



_______________________________________________
interchange-users mailing list
interchange-users[at]icdevgroup.org
http://www.icdevgroup.org/mailman/listinfo/interchange-users


lists at gmnet

Apr 21, 2008, 5:18 PM

Post #3 of 3 (71 views)
Permalink
Re: Problem with blank_label [In reply to]

On Mon, 2008-04-21 at 12:08 -0600, Shirley Studebaker wrote:
> 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.
>
> Thanks for any help you can give me.
> Shirley
>

I'm not sure if this will help, or if I understand the problem totally,
but I have done this in the past...

rick


[.query
type=list
label=variants
prefix=variants
list_prefix=variants_list
table=variants
sql=|
SELECT * FROM `variants`
WHERE `sku` = "[item-code]"
ORDER BY `code`
|]
[variants_list-on-match]
<select name="mv_sku">
<option value="">--Select Size--</option>
[/variants_list-on-match]
[variants_list]
<option value="[variants-code]">[variants-field description] ([variants-field price])</option>
[/variants_list]
[variants_list-on-match]
</select>
[/variants_list-on-match]
[/query]





_______________________________________________
interchange-users mailing list
interchange-users[at]icdevgroup.org
http://www.icdevgroup.org/mailman/listinfo/interchange-users

Interchange users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.