the filter drop menu
The very last item in the alphabetical list is an X, how to get rid of it please. I went to the product_listing_alpha_sorter.php and copied it to my templates override folder.
I then added // to one line but the "X" just wont go away and when clicked on it takes you back to your category but not....you get the category but nothing below the category description, that is just blank.
This is the code I tried in the file:
================================
// build alpha sorter dropdown
if (PRODUCT_LIST_ALPHA_SORTER == 'true') {
if ((int)$_GET['alpha_filter_id'] == 0) {
$letters_list[] = array('id' => '0', 'text' => TEXT_PRODUCTS_LISTING_ALPHA_SORTER_NAMES);
} else {
$letters_list[] = array('id' => '0', 'text' => TEXT_PRODUCTS_LISTING_ALPHA_SORTER_NAMES_RESET);
}
for ($i=65; $i<91; $i++) {
$letters_list[] = array('id' => sprintf('%02d', $i), 'text' => chr($i) );
}
// for ($i=48; $i<58; $i++) {
$letters_list[] = array('id' => sprintf('%02d', $i), 'text' => chr($i) );
}
========================================
Is there some other file to do this at?
Please let me know since I have tried many different wys to get rid of it. I noticed that in 1.3.9h there was a line that does not seem to be in this version:
$letters_list[] = array('id' => sprintf('%02d', 48), 'text' => '#' );


Reply With Quote

