Hello, I wasnt sure where to post this, hopefully this is the right place.
I am trying to change some coding so I can display a list of available product attributes on the product listing page instead of a drop down box.
I would like to change this code:
So $options_menu[] becomes a simple text list rather than a drop down box. I am self-taught and dont know too much about php but I have tried using a foreach statement to display the attributes held in $products_options_array but I cant get it to work.Code:$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";
Would anyone have any suggestions?
Thanks!



