管理画面>商品オプション>商品属性登録
商品を選び、オプションを選ぶところで、プルダウンメニューが、商品名順にならぶので、登録がしずらい。そこで、プルダウンメニューを、登録した商品順に並ばせることで、スムーズにオプションを登録できるようになる。
/admin/products_attirbutes.php
の、760行あたり。
$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");
を、
$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 p.products_id desc");
最後の、order by 〜の後を変更する。