Temporarily disable some of Admin menu in Zen-Cart

Sometimes you may want to disable some menus that are not used by Store Admin for some reasons including security. You’ll need to do a few things to make it happen.
– Add a new field called “is_active” in database table admin_menus. Set 1 as default.
– Open the file admin/includes/functions/admin_access.php, look for the function zen_get_menu_titles(), change the query to get all menus that are active only.
$sql = “SELECT menu_key, language_key FROM ” . TABLE_ADMIN_MENUS . ” WHERE is_active = 1 ORDER BY sort_order”;
– Set is_active flag as 0 in the table if you don’t want that menu to display on Zen-cart Admin control panel.
– Go to database table admin_pages, set “display_on_menu” flag = ‘N’ of those submenu dropdown, so that they won’t be displayed on Admin menus.