Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / General Questions / General Questions / the problem of the drop-down box which used as to search products alphabetically

the problem of the drop-down box which used as to search products alphabetically

Locked

Started by jimx92 on 23 Sep 2009, 2:32 AM · Views: 750

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
23 Sep 2009, 2:32 AM
#1
jimx92 avatar

jimx92

New Zenner

Join Date:
Sep 2009
Posts:
7
Plugin Contributions:
0

Post #1 by jimx92

you can see the drop-down box in the page of every categroy.like the picture show:

but when there isn't any products by the letter you used to search. the drop-down box is hided.see it:

I don't know why zencart haven't fix this bug till now, and im hopping a solution way. thanks.

23 Sep 2009, 2:49 AM
#2
jimx92 avatar

jimx92

New Zenner

Join Date:
Sep 2009
Posts:
7
Plugin Contributions:
0

Post #2 by jimx92

i have fix about it.just to modify the tpl_index_product_list.php

if ($do_filter_list || ($check_for_alpha->RecordCount() > 0 && PRODUCT_LIST_ALPHA_SORTER == 'true')) {

change into```php
if ($do_filter_list || ($check_for_alpha->RecordCount() >= 0 && PRODUCT_LIST_ALPHA_SORTER == 'true')) {