Im trying to understand where zencart pulls array data from for the drop down boxes, i.e. manufacturers and suppliers. Is this information being pulled directly from the database ?
If i look at the code which provides the array:
<?php echo zen_draw_pull_down_menu('categories_id', zen_get_categories(array(array('id' => '', 'text' => TEXT_ALL_CATEGORIES)), '0' ,'', '1'), $sData['categories_id']); ?>
if i wanted to pull a different array from the database would this just be a case of creating a table like categories and changing the code as follows:
<?php echo zen_draw_pull_down_menu('newarray_id', zen_get_newarray(array(array('id' => '', 'text' => TEXT_ALL_NEWARRAY)), '0' ,'', '1'), $sData['newarray']); ?>



