RonEnglund Posted November 6, 2005 Share Posted November 6, 2005 Hi, I would like to have some help with Product attributes in the admin section. Since many of my products have the same name, only different model numbers it is a pretty nasty thing trying to find the particular product in the dropdown list when adding attributes to it. Can I somehow change the dropdown so it lists the model-numbers instead of the product name? I have tried the contrib: Show model in product attributes But it does not work. Please, if anyone have any ideas of how to do this I'd be really really grateful. The query for the dropdown looks like this: $products = tep_db_query("select p.products_id, pd.products_name from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where pd.products_id = p.products_id and pd.language_id = '" . $languages_id . "' order by pd.products_name"); while ($products_values = tep_db_fetch_array($products)) { echo '<option name="' . $products_values['products_name'] . '" value="' . $products_values['products_id'] . '">' . $products_values['products_name'] . '</option>'; } Thanks ______________ Ron Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.