[Skip to main content](#vessel-content)

#   Admin left sidebar manufacturer tree explorer

##

- **[Gnsbud](/forum/user/37991-gnsbud "View Gnsbud's Profile")**
- [![Gnsbud's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/37991-gnsbud "View Gnsbud's Profile") Topic Author
- [ Offline](/forum/user/37991-gnsbud)

Less More

- Posts: 42
- Thank you received: 1
-
-

11 years 3 months ago -  11 years 3 months ago [\#208763](#208763) by [Gnsbud](/forum/user/37991-gnsbud "View Gnsbud's Profile")  *[Admin left sidebar manufacturer tree explorer](/forum/32-content-creation/878241-admin-left-sidebar-manufacturer-tree-explorer#208763 "-- url of the page with the problem -- : localhost -- HikaShop version -- : 2.5.0 -- Joomla version -- : 3.4.3 -- PHP version -- : 5.5.12 -- Browser(s) name and version -- : Firefox 37.0.2 -- Error-message(debug-mod must be tuned on) -- : Console says each time: empty string passed to getelementbyid() :: jquery.min.js:2:0  Hi,  as you will see at prntscr one, I have many manufacturers created, manufacturers have series, so for example manufacturer tree looks like this:  manufacturers - Some manufacturer name1 -- Some series name1 ... - some manufacturer name2 -- some series name2 ...  and so on...  While browsing manufacturer tree (under explorer /left sidebar/) I have a plus sign &#91;+&#93; opposite to manufacturer name if it has series inside (print screen one) - that's ok. If I click that plus sign no series are appearing and plus sign is disappearing (print screen two) - that's not ok.  If I click on manufacturer name (not plus sign) you can see on the righ all series from this manufacturer /the plus sign is reappearing/ (print screen three). Still while in manufacturer which has series inside, clicking on plus sign just hides it and no manufacturer categories from level2 are appearing.  For product category tree all plus signs are working fine.  What's wrong? :(  EDIT: also I noticed I can't choose manfuacturer name while creating products (only series are available/visible) inside Brand input field.  Best regards, Chris")* was created by *[Gnsbud](/forum/user/37991-gnsbud "View Gnsbud's Profile")*

-- url of the page with the problem -- : localhost
-- HikaShop version -- : 2.5.0
-- Joomla version -- : 3.4.3
-- PHP version -- : 5.5.12
-- Browser(s) name and version -- : Firefox 37.0.2
-- Error-message(debug-mod must be tuned on) -- : Console says each time:
empty string passed to getelementbyid() :: jquery.min.js:2:0

Hi,

as you will see at prntscr one, I have many manufacturers created, manufacturers have series, so for example manufacturer tree looks like this:

manufacturers
- Some manufacturer name1
-- Some series name1
...
- some manufacturer name2
-- some series name2
...

and so on...

While browsing manufacturer tree (under explorer /left sidebar/) I have a plus sign [+] opposite to manufacturer name if it has series inside (print screen one) - that's ok.
If I click that plus sign no series are appearing and plus sign is disappearing (print screen two) - that's not ok.

If I click on manufacturer name (not plus sign) you can see on the righ all series from this manufacturer /the plus sign is reappearing/ (print screen three).
Still while in manufacturer which has series inside, clicking on plus sign just hides it and no manufacturer categories from level2 are appearing.

For product category tree all plus signs are working fine.

What's wrong? ![:(](/media/kunena/emoticons/22.png ":(")

EDIT:
also I noticed I can't choose manfuacturer name while creating products (only series are available/visible) inside Brand input field.

Best regards,
Chris

- [ ![manu1.png](/forum/attachment/25564) ](/forum/attachment/25564 "manu1.png") [ ](/forum/attachment/25564?download=1 "manu1.png")
- [ ![manu2-no-plus.png](/forum/attachment/25565) ](/forum/attachment/25565 "manu2-no-plus.png") [ ](/forum/attachment/25565?download=1 "manu2-no-plus.png")
- [ ![manu3.png](/forum/attachment/25566) ](/forum/attachment/25566 "manu3.png") [ ](/forum/attachment/25566?download=1 "manu3.png")
- [ ![manu4.png](/forum/attachment/25567) ](/forum/attachment/25567 "manu4.png") [ ](/forum/attachment/25567?download=1 "manu4.png")

Last edit: 11 years 3 months ago by [Gnsbud](/forum/user/37991-gnsbud "View Gnsbud's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODc4MjQxLWFkbWluLWxlZnQtc2lkZWJhci1tYW51ZmFjdHVyZXItdHJlZS1leHBsb3Jlcj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86541
- Thank you received: 14304
-
-

11 years 3 months ago [\#208772](#208772) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Admin left sidebar manufacturer tree explorer](/forum/32-content-creation/878241-admin-left-sidebar-manufacturer-tree-explorer#208772 "-- url of the page with the problem -- : localhost -- HikaShop version -- : 2.5.0 -- Joomla version -- : 3.4.3 -- PHP version -- : 5.5.12 -- Browser(s) name and version -- : Firefox 37.0.2 -- Error-message(debug-mod must be tuned on) -- : Console says each time: empty string passed to getelementbyid() :: jquery.min.js:2:0  Hi,  as you will see at prntscr one, I have many manufacturers created, manufacturers have series, so for example manufacturer tree looks like this:  manufacturers - Some manufacturer name1 -- Some series name1 ... - some manufacturer name2 -- some series name2 ...  and so on...  While browsing manufacturer tree (under explorer /left sidebar/) I have a plus sign &#91;+&#93; opposite to manufacturer name if it has series inside (print screen one) - that's ok. If I click that plus sign no series are appearing and plus sign is disappearing (print screen two) - that's not ok.  If I click on manufacturer name (not plus sign) you can see on the righ all series from this manufacturer /the plus sign is reappearing/ (print screen three). Still while in manufacturer which has series inside, clicking on plus sign just hides it and no manufacturer categories from level2 are appearing.  For product category tree all plus signs are working fine.  What's wrong? :(  EDIT: also I noticed I can't choose manfuacturer name while creating products (only series are available/visible) inside Brand input field.  Best regards, Chris")*

Hi,

The thing is that you're not supposed to have several layers of brands.
I've actually spent the time to look at that and display properly the brands in the explorer, but you might experience other issues when doing that so I would recommend against it.
The modifications to do are: Code:

if($typeConfig['mode'] == 'list')

to: Code:

$mode = !empty($options['mode']) ? $options['mode'] : @$typeConfig['mode']; if($mode == 'list')

(3 itmes in the file) in the file administrator/components/com_hikashop/classes/category.php Code:

$ret = $nameboxType-&gt;getValues($search, 'category', $options);

to: Code:

$type = 'category'; if($category_id){ $categoryClass = hikashop_get('class.category'); $category = $categoryClass-&gt;get($category_id); if($category-&gt;category_type=='manufacturer'){ $type = 'brand'; $options['mode'] = 'tree'; } } $ret = $nameboxType-&gt;getValues($search, $type, $options);

in the file adminsitrator/components/com_hikashop/controllers/category.php
and: Code:

if((!empty($typeConfig['mode']) &amp;&amp; $typeConfig['mode'] == 'list') &amp;&amp; empty($typeConfig['options']['olist']['table']) &amp;&amp; !is_string(reset($elements))) {

to: Code:

$mode = !empty($options['mode']) ? $options['mode'] : @$typeConfig['mode']; if($mode == 'list' &amp;&amp; empty($typeConfig['options']['olist']['table']) &amp;&amp; !is_string(reset($elements))) {

in the file administrator/components/com_hikashop/types/namebox.php

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODc4MjQxLWFkbWluLWxlZnQtc2lkZWJhci1tYW51ZmFjdHVyZXItdHJlZS1leHBsb3Jlcj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Gnsbud](/forum/user/37991-gnsbud "View Gnsbud's Profile")**
- [![Gnsbud's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/37991-gnsbud "View Gnsbud's Profile") Topic Author
- [ Offline](/forum/user/37991-gnsbud)

Less More

- Posts: 42
- Thank you received: 1
-
-

11 years 3 months ago [\#209051](#209051) by [Gnsbud](/forum/user/37991-gnsbud "View Gnsbud's Profile")  Replied by *[Gnsbud](/forum/user/37991-gnsbud "View Gnsbud's Profile")* on topic *[Admin left sidebar manufacturer tree explorer](/forum/32-content-creation/878241-admin-left-sidebar-manufacturer-tree-explorer#209051 "-- url of the page with the problem -- : localhost -- HikaShop version -- : 2.5.0 -- Joomla version -- : 3.4.3 -- PHP version -- : 5.5.12 -- Browser(s) name and version -- : Firefox 37.0.2 -- Error-message(debug-mod must be tuned on) -- : Console says each time: empty string passed to getelementbyid() :: jquery.min.js:2:0  Hi,  as you will see at prntscr one, I have many manufacturers created, manufacturers have series, so for example manufacturer tree looks like this:  manufacturers - Some manufacturer name1 -- Some series name1 ... - some manufacturer name2 -- some series name2 ...  and so on...  While browsing manufacturer tree (under explorer /left sidebar/) I have a plus sign &#91;+&#93; opposite to manufacturer name if it has series inside (print screen one) - that's ok. If I click that plus sign no series are appearing and plus sign is disappearing (print screen two) - that's not ok.  If I click on manufacturer name (not plus sign) you can see on the righ all series from this manufacturer /the plus sign is reappearing/ (print screen three). Still while in manufacturer which has series inside, clicking on plus sign just hides it and no manufacturer categories from level2 are appearing.  For product category tree all plus signs are working fine.  What's wrong? :(  EDIT: also I noticed I can't choose manfuacturer name while creating products (only series are available/visible) inside Brand input field.  Best regards, Chris")*

Hi Nicolas,

thanks to your codes explorer is working fine now, however still I can't add manufacturer to product (while crating product on backend), I have available only my series (level two of brand tree), there're no level 1 brands (manufacturers).

Best regards,
Chris

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODc4MjQxLWFkbWluLWxlZnQtc2lkZWJhci1tYW51ZmFjdHVyZXItdHJlZS1leHBsb3Jlcj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Gnsbud](/forum/user/37991-gnsbud "View Gnsbud's Profile")**
- [![Gnsbud's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/37991-gnsbud "View Gnsbud's Profile") Topic Author
- [ Offline](/forum/user/37991-gnsbud)

Less More

- Posts: 42
- Thank you received: 1
-
-

11 years 3 months ago [\#209059](#209059) by [Gnsbud](/forum/user/37991-gnsbud "View Gnsbud's Profile")  Replied by *[Gnsbud](/forum/user/37991-gnsbud "View Gnsbud's Profile")* on topic *[Admin left sidebar manufacturer tree explorer](/forum/32-content-creation/878241-admin-left-sidebar-manufacturer-tree-explorer#209059 "-- url of the page with the problem -- : localhost -- HikaShop version -- : 2.5.0 -- Joomla version -- : 3.4.3 -- PHP version -- : 5.5.12 -- Browser(s) name and version -- : Firefox 37.0.2 -- Error-message(debug-mod must be tuned on) -- : Console says each time: empty string passed to getelementbyid() :: jquery.min.js:2:0  Hi,  as you will see at prntscr one, I have many manufacturers created, manufacturers have series, so for example manufacturer tree looks like this:  manufacturers - Some manufacturer name1 -- Some series name1 ... - some manufacturer name2 -- some series name2 ...  and so on...  While browsing manufacturer tree (under explorer /left sidebar/) I have a plus sign &#91;+&#93; opposite to manufacturer name if it has series inside (print screen one) - that's ok. If I click that plus sign no series are appearing and plus sign is disappearing (print screen two) - that's not ok.  If I click on manufacturer name (not plus sign) you can see on the righ all series from this manufacturer /the plus sign is reappearing/ (print screen three). Still while in manufacturer which has series inside, clicking on plus sign just hides it and no manufacturer categories from level2 are appearing.  For product category tree all plus signs are working fine.  What's wrong? :(  EDIT: also I noticed I can't choose manfuacturer name while creating products (only series are available/visible) inside Brand input field.  Best regards, Chris")*

... What's more, the series whcih I have visible in brand input field while creating product - now I can see that some brands have the same series, so I have double entries and I don't know which one is from which manufacturer ![:(](/media/kunena/emoticons/22.png ":(") Maybe I'm wrong, but in Hikashop 2.4.0 wasn't possible to choose manufacturer categories in the same input field as categories from "product category"?

To be honest, it's wired that such great eCommerce solution like Hikashop doesn't have possibility to choose many manufacturers to one product. Things like two manufactuers to one product are happening for example if you're selling books, you will have co-edition of two manufacturers which are quite equal each to another, so selecting only one is not true.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODc4MjQxLWFkbWluLWxlZnQtc2lkZWJhci1tYW51ZmFjdHVyZXItdHJlZS1leHBsb3Jlcj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26400
- Thank you received: 4079
-
- [](http://obsi.dev)
-

11 years 3 months ago [\#209062](#209062) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Admin left sidebar manufacturer tree explorer](/forum/32-content-creation/878241-admin-left-sidebar-manufacturer-tree-explorer#209062 "-- url of the page with the problem -- : localhost -- HikaShop version -- : 2.5.0 -- Joomla version -- : 3.4.3 -- PHP version -- : 5.5.12 -- Browser(s) name and version -- : Firefox 37.0.2 -- Error-message(debug-mod must be tuned on) -- : Console says each time: empty string passed to getelementbyid() :: jquery.min.js:2:0  Hi,  as you will see at prntscr one, I have many manufacturers created, manufacturers have series, so for example manufacturer tree looks like this:  manufacturers - Some manufacturer name1 -- Some series name1 ... - some manufacturer name2 -- some series name2 ...  and so on...  While browsing manufacturer tree (under explorer /left sidebar/) I have a plus sign &#91;+&#93; opposite to manufacturer name if it has series inside (print screen one) - that's ok. If I click that plus sign no series are appearing and plus sign is disappearing (print screen two) - that's not ok.  If I click on manufacturer name (not plus sign) you can see on the righ all series from this manufacturer /the plus sign is reappearing/ (print screen three). Still while in manufacturer which has series inside, clicking on plus sign just hides it and no manufacturer categories from level2 are appearing.  For product category tree all plus signs are working fine.  What's wrong? :(  EDIT: also I noticed I can't choose manfuacturer name while creating products (only series are available/visible) inside Brand input field.  Best regards, Chris")*

Hi,

The manufacturer is stored in the database, in the column "product_manufacturer_id".
This field only accept one manufacturer and it allows to perform filters (and more).
Allowing several manufacturer is possible but it will require some modifications in the core and it could break how some plugins are working (when they are dealing with manufacturers). It will also need modifications in all different parts in HikaShop to handle the core modification.

We are aware of that like we are aware that the manufacturer system was not design to allow tree organization of the brands.
Because even if a manufacturer is stored as a category in the database, in the same way than the order statuses, the goal is not to organize them in tree.
Even in the front-end, when you create a manufacturer filter, the filter is just a dropdown and it won't manage the tree structure.

So, that's right that we authorized that tree organization in the interface but at the beginning, it hasn't been design to be used like that.

One interesting point with the namebox system, is that it manage different modes. So with some little modification it could be possible to select the brands like you can select a category (with a "tree" display and not a "list" one).
And like I start to write in the beginning, the multi-manufacturer is in our TODO list but it will require some time to do it right.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODc4MjQxLWFkbWluLWxlZnQtc2lkZWJhci1tYW51ZmFjdHVyZXItdHJlZS1leHBsb3Jlcj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Gnsbud](/forum/user/37991-gnsbud "View Gnsbud's Profile")**
- [![Gnsbud's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/37991-gnsbud "View Gnsbud's Profile") Topic Author
- [ Offline](/forum/user/37991-gnsbud)

Less More

- Posts: 42
- Thank you received: 1
-
-

11 years 3 months ago [\#209199](#209199) by [Gnsbud](/forum/user/37991-gnsbud "View Gnsbud's Profile")  Replied by *[Gnsbud](/forum/user/37991-gnsbud "View Gnsbud's Profile")* on topic *[Admin left sidebar manufacturer tree explorer](/forum/32-content-creation/878241-admin-left-sidebar-manufacturer-tree-explorer#209199 "-- url of the page with the problem -- : localhost -- HikaShop version -- : 2.5.0 -- Joomla version -- : 3.4.3 -- PHP version -- : 5.5.12 -- Browser(s) name and version -- : Firefox 37.0.2 -- Error-message(debug-mod must be tuned on) -- : Console says each time: empty string passed to getelementbyid() :: jquery.min.js:2:0  Hi,  as you will see at prntscr one, I have many manufacturers created, manufacturers have series, so for example manufacturer tree looks like this:  manufacturers - Some manufacturer name1 -- Some series name1 ... - some manufacturer name2 -- some series name2 ...  and so on...  While browsing manufacturer tree (under explorer /left sidebar/) I have a plus sign &#91;+&#93; opposite to manufacturer name if it has series inside (print screen one) - that's ok. If I click that plus sign no series are appearing and plus sign is disappearing (print screen two) - that's not ok.  If I click on manufacturer name (not plus sign) you can see on the righ all series from this manufacturer /the plus sign is reappearing/ (print screen three). Still while in manufacturer which has series inside, clicking on plus sign just hides it and no manufacturer categories from level2 are appearing.  For product category tree all plus signs are working fine.  What's wrong? :(  EDIT: also I noticed I can't choose manfuacturer name while creating products (only series are available/visible) inside Brand input field.  Best regards, Chris")*

Hi Jerome,

ok, thank you for clarifying the situation. I guess I'll have to rebuild my category tree, I'll not use manufacturer multi-levels for now.

Best regards,
Chris

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODc4MjQxLWFkbWluLWxlZnQtc2lkZWJhci1tYW51ZmFjdHVyZXItdHJlZS1leHBsb3Jlcj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.065 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
