- Posts: 30
- Thank you received: 0
keep brands tree initially closed
10 years 5 months ago #238074
by syno
keep brands tree initially closed was created by syno
Hello,
I am not sure if this is the right category for my problem, so please move the thread if needed.
I have around 700 brands in my shop and by default (if you open the category browser in the backend) the brands tree is expanded. Is there a way to keep this subtree closed in the explorer?
Thank you for your help!
I am not sure if this is the right category for my problem, so please move the thread if needed.
I have around 700 brands in my shop and by default (if you open the category browser in the backend) the brands tree is expanded. Is there a way to keep this subtree closed in the explorer?
Thank you for your help!
Please Log in or Create an account to join the conversation.
10 years 5 months ago #238078
by nicolas
Replied by nicolas on topic keep brands tree initially closed
Hi,
There is no option for that. The first level of categories/brands is opened automatically for ease of use.
You would have to change the line:
$options = array('depth' => 2, 'start' => $root);
to:
$options = array('depth' => 1, 'start' => $root);
in the file administrator/components/com_hikashop/types/categorysub.php in order to do that.
There is no option for that. The first level of categories/brands is opened automatically for ease of use.
You would have to change the line:
$options = array('depth' => 2, 'start' => $root);
to:
$options = array('depth' => 1, 'start' => $root);
in the file administrator/components/com_hikashop/types/categorysub.php in order to do that.
Please Log in or Create an account to join the conversation.
Time to create page: 0.141 seconds