Hello,
I would like the attribute drop down box to display the first 3 items in the list instead of just the first. Would someone please tell me how to go about doing that?
Thanks
Hello,
I would like the attribute drop down box to display the first 3 items in the list instead of just the first. Would someone please tell me how to go about doing that?
Thanks
Assuming that you are referring to the one on the product_info page, then you can do this by converting it to scroll options in the same way as the default manufacturers sidebox works.
To do this you would create a over-ride copy of modules/attributes.php and change the following line(line 595 in 1.3.7) to read$options_menu[] = zen_draw_pull_down_menu('id[' . $products_options_names->fields['products_options_id'] . ']', $products_options_array, $selected_attribute, 'id="' . 'attrib-' . $products_options_names->fields['products_options_id'] . '"') . "\n";$options_menu[] = zen_draw_pull_down_menu('id[' . $products_options_names->fields['products_options_id'] . ']', $products_options_array, $selected_attribute, 'id="' . 'attrib-' . $products_options_names->fields['products_options_id'] . '" size="3"') . "\n";
Kuroi Web Design and Development | Twitter
(Questions answered in the forum only - so that any forum member can benefit - not by personal message)
Thanks you kuroi, that worked perfectly
you help is much appreciated