jaymz77 Posted May 29, 2009 Share Posted May 29, 2009 I have been fortunate to have found out about OSC many years ago, it is truly awesome. Anyways, this may be something that can't be discussed because it modifies the OSC shell but here goes nothing.. I have been adding new fields to the product_info page for awhile but have come accross a problem with a new site I am building. When I add the field to the catagories.php, I have only been able to add text fields.. (please note I am not very good with php) .. how would I add a drop down box or a radio button to slect a specific option that is static with the product. Example : This web site is an RV Dealership, all RV's have different options just like cars.. A/C, DVD player, LCD TV .. etc.. I would like to be able to select a radio button for each option that is availble for that product and have those results displayed on the product_info page. Here is the code from catagories.php that displayes the entry field: <tr> <td class="main"><?php echo TEXT_PRODUCTS_CLASS_XML; ?></td> <td class="main"><?php echo tep_draw_separator('pixel_trans.gif', '24', '15') . ' ' . tep_draw_input_field('products_class_xml', 'Class ' . $pInfo->products_class_xml); ?></td> </tr> I know it has to do with the tep_draw_input_field but can't figue it out. I hope someone can help, this would make things SO much easier! Thanks in Advanced! -James Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.