
lists at gmnet
Apr 21, 2008, 5:18 PM
Post #3 of 3
(71 views)
Permalink
|
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
|