Suddenly in the product section of the admin page, the category filter is not displayed as drop down menu anymore. It is instead a button that will pull up the window where I can choose in which category to search by selecting between radio buttons.
Please take a look at the attached image to better understand what I mean. I would like to have my drop down menu back…how can I do that?
Any idea of why this is happening?
Let me know please
Here is the image URL to check what happened:
And the version you are running is?.. And the last time you upgraded was? And from what version?
[quote name=‘tbirnseth’]And the version you are running is?.. And the last time you upgraded was? And from what version?[/QUOTE]
Running 2.1.4
Latest update was done when 2.1.4 was released
this drop down issue was a sudden change I did not expected
that is why I am so puzzled and posted here in case someone experienced same issue…
have another copy of cs-cart running 2.1.4 and do not have the problem there…
any suggestion?
you need to have at look at these 2 lines in the config.php file
// These constants define when select box with categories list should be replaced with picker
define(‘CATEGORY_THRESHOLD’, 100); // if number of categories less than this value, all categories will be retrieved, otherwise subcategories will be retrieved by ajax
define(‘CATEGORY_SHOW_ALL’, 100); // if number of categories less than this value, categories tree will be expanded
john
[quote name=‘JohnCarroll’]you need to have at look at these 2 lines in the config.php file
// These constants define when select box with categories list should be replaced with picker
define(‘CATEGORY_THRESHOLD’, 100); // if number of categories less than this value, all categories will be retrieved, otherwise subcategories will be retrieved by ajax
define(‘CATEGORY_SHOW_ALL’, 100); // if number of categories less than this value, categories tree will be expanded
john[/QUOTE]
Thank you for the reply John
I am not familiar with the code …dont want to poke around without understanding…what is the code you are referring to?
for what I can read in the comment lines it regulates wether the drop down menu is displayed or not? so 100 is the critical number? that mean if I have more than 100 categories then it is normal I am presented the picker instead of the drop down menu?
Let me know thanks
Or, you could have an owenership/permissions problem.
[quote name=‘tbirnseth’]Or, you could have an owenership/permissions problem.[/QUOTE]
What does it mean?
Depending on your server, you might have directories/files owned by a user other than what PHP runs as or you might have inappropriate permissions on files/directories in your site.
Your hosting provider should be able to assist you to verify the ownership/permissions of your site.
[quote name=‘tbirnseth’]Depending on your server, you might have directories/files owned by a user other than what PHP runs as or you might have inappropriate permissions on files/directories in your site.
Your hosting provider should be able to assist you to verify the ownership/permissions of your site.[/QUOTE]
I will double check with them thank you
I really dont know why I am experiencing this issue
Go into the config.php file and change:
define(‘CATEGORY_SHOW_ALL’, 100);
to
define(‘CATEGORY_SHOW_ALL’, 1000);
If you are not sure how to do it just pm me and I will help you out
John
[quote name=‘JohnCarroll’]Go into the config.php file and change:
define(‘CATEGORY_SHOW_ALL’, 100);
to
define(‘CATEGORY_SHOW_ALL’, 1000);
If you are not sure how to do it just pm me and I will help you out
John[/QUOTE]
Thank you John
I will give it a try on Monday and will let you know if it will solve the problem.
I will be in touch
Hi John
it worked like you said…I got the drop down menu back…awesome…thanks for the tip!
[quote name=‘JohnCarroll’ timestamp=‘1302288865’ post=‘109333’]
you need to have at look at these 2 lines in the config.php file
// These constants define when select box with categories list should be replaced with picker
define(‘CATEGORY_THRESHOLD’, 100); // if number of categories less than this value, all categories will be retrieved, otherwise subcategories will be retrieved by ajax
define(‘CATEGORY_SHOW_ALL’, 100); // if number of categories less than this value, categories tree will be expanded
john
[/quote]
This works with the latest 2.2.x yes! Thanks
Hey mate, which software you are using for creating arrow and text ?
[quote name=‘btrials’ timestamp=‘1310758057’ post=‘117405’]
This works with the latest 2.2.x yes! Thanks
[/quote]
Nice, yes worked for me in 2.2.x as well they changed the threshold to 40, was driving me crazy so much slower, thanks for posting this!!
Having the same problem, but this time using the latest edition of cs-cart…
I changed the config file as suggested but no results this time…is there any other code that affects the display of categories as drop down menu instead of the picker?
Please advise