Nator Posted January 27, 2010 Share Posted January 27, 2010 Hello. I hope someone has time to help me. I would like to change the code below so that it shows an list instead of pull_down_menu. echo tep_draw_pull_down_menu('add_product_products_id', $product_array, $add_product_products_id, 'style="width:300px;" onchange="this.form.submit();"'); Any ideas on what I should do? This code belongs to the "Order Editor" contribution. Link to comment Share on other sites More sharing options...
rescuestat Posted January 28, 2010 Share Posted January 28, 2010 Hello. I hope someone has time to help me. I would like to change the code below so that it shows an list instead of pull_down_menu. echo tep_draw_pull_down_menu('add_product_products_id', $product_array, $add_product_products_id, 'style="width:300px;" onchange="this.form.submit();"'); Any ideas on what I should do? This code belongs to the "Order Editor" contribution. Hello, Just assuming you have a fairly short product list, overwise your list coould be extremely long. Check in your /admin/functions/html_output.php for the function tep_draw_radio_field. Change the tep_draw_pull_down_menu to this. Now, these function calls don't follow the exact same format but by using a little bit of trial/error if need be you can change list type. At radio field type will only allow the selection of one product just like the pull-down menu does. Hope this helps a little, just a thought. Frank Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.