I used this code on index_products.tpl right after the normal category sort at about line 60
Code:
// Additional Products Sort
echo '<td align="center" class="main">' . tep_draw_form('sort', FILENAME_DEFAULT, 'get') . '<b>Sort by:</b> ';
if (isset($HTTP_GET_VARS['manufacturers_id'])) {
echo tep_draw_hidden_field('manufacturers_id', $HTTP_GET_VARS['manufacturers_id']);
} else {
echo tep_draw_hidden_field('cPath', $cPath);
}
$sort_list = array('' => 'Select',
'4a' => 'Price Low to High',
'4d' => 'Price High to Low',
'3a' => 'Products Name A to Z',
'3d' => 'Products Name Z to A');
foreach($sort_list as $id=>$text) {
$sort_range[] = array('id' => $id, 'text' => $text);
}
echo tep_draw_pull_down_menu('sort', $sort_range, (isset($HTTP_GET_VARS['sort']) ? $HTTP_GET_VARS['sort'] : ''), 'onchange="this.form.submit()"');
echo tep_draw_hidden_field('filter_id', (isset($HTTP_GET_VARS['filter_id']) ? $HTTP_GET_VARS['filter_id'] : ''));
echo '</form></td>' . "\n";
// End Additional Products Sort
Bookmarks