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

#   vendors list

##

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

Less More

- Posts: 25
- Thank you received: 0
-
-

13 years 7 months ago [\#94232](#94232) by [orchideelab](/forum/user/14295-orchideelab "View orchideelab's Profile")  *[vendors list](/forum/19-hikamarket/79244-vendors-list#94232 "Hi, How can i show a vendors list? thanks")* was created by *[orchideelab](/forum/user/14295-orchideelab "View orchideelab's Profile")*

Hi,
How can i show a vendors list?
thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE5LWhpa2FtYXJrZXQvNzkyNDQtdmVuZG9ycy1saXN0P3RtcGw9bWFya2Rvd24=) or [Create an account](/register) 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: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

13 years 7 months ago [\#94235](#94235) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[vendors list](/forum/19-hikamarket/79244-vendors-list#94235 "Hi, How can i show a vendors list? thanks")*

Hi,

For the moment, the best way to display a vendor listing is to create a category listing on the vendor root category.
You have to use the option which would create a category per vendor and, at this moment, you would have a well good structure.

Each vendor would have a category and his products would be automatically added in this category when the vendor would create a product.
So, you can have a vendor listing with the product listing associated.

If you have some ideas to improve it, we are open for suggestions ![:)](/media/kunena/emoticons/3.png ":)")

Best regards,

---

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE5LWhpa2FtYXJrZXQvNzkyNDQtdmVuZG9ycy1saXN0P3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 25
- Thank you received: 0
-
-

13 years 7 months ago [\#94303](#94303) by [orchideelab](/forum/user/14295-orchideelab "View orchideelab's Profile")  Replied by *[orchideelab](/forum/user/14295-orchideelab "View orchideelab's Profile")* on topic *[vendors list](/forum/19-hikamarket/79244-vendors-list#94303 "Hi, How can i show a vendors list? thanks")*

Ok,
i've set the option, but may i create a sub-categories in vendor's root?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE5LWhpa2FtYXJrZXQvNzkyNDQtdmVuZG9ycy1saXN0P3RtcGw9bWFya2Rvd24=) or [Create an account](/register) 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: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

13 years 7 months ago [\#94311](#94311) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[vendors list](/forum/19-hikamarket/79244-vendors-list#94311 "Hi, How can i show a vendors list? thanks")*

Hi,

HikaMarket would create automatically categories for your vendors. If can "force" the category creation by editing (saving) a vendor.
The vendor category could contains sub categories without any problem and your vendors would be able to create some using the front-end category management.

Regards,

---

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE5LWhpa2FtYXJrZXQvNzkyNDQtdmVuZG9ycy1saXN0P3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 25
- Thank you received: 0
-
-

13 years 7 months ago [\#94317](#94317) by [orchideelab](/forum/user/14295-orchideelab "View orchideelab's Profile")  Replied by *[orchideelab](/forum/user/14295-orchideelab "View orchideelab's Profile")* on topic *[vendors list](/forum/19-hikamarket/79244-vendors-list#94317 "Hi, How can i show a vendors list? thanks")*

ok,.... i ask it because in may test site sub-categories creation doesn't work (the page is white) . Insert of product works fine.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE5LWhpa2FtYXJrZXQvNzkyNDQtdmVuZG9ycy1saXN0P3RtcGw9bWFya2Rvd24=) or [Create an account](/register) 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: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

13 years 7 months ago [\#94330](#94330) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[vendors list](/forum/19-hikamarket/79244-vendors-list#94330 "Hi, How can i show a vendors list? thanks")*

Hi,

Please edit the file "administrator/com_hikamarket/helper/helper.php" and replace the line: Code:

' WHERE a.category_id = ' . (int)$category_id.' AND b.category_namekey = ' . $this-&gt;db-&gt;Quote('vendor_'.$vendor_id);

With: Code:

' WHERE a.category_id = ' . (int)$category_id.' AND b.category_namekey = ' . $db-&gt;Quote('vendor_'.$vendor_id);

It should fix your problem.
We are currently finishing a new feature in HikaMarket and a new version, with this patch, would be published.

Regards,

---

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE5LWhpa2FtYXJrZXQvNzkyNDQtdmVuZG9ycy1saXN0P3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 25
- Thank you received: 0
-
-

13 years 7 months ago [\#94349](#94349) by [orchideelab](/forum/user/14295-orchideelab "View orchideelab's Profile")  Replied by *[orchideelab](/forum/user/14295-orchideelab "View orchideelab's Profile")* on topic *[vendors list](/forum/19-hikamarket/79244-vendors-list#94349 "Hi, How can i show a vendors list? thanks")*

Thanks for your prompt replay.
Now the page will not be blank but the sub-category will not be created....
You can find the attached the configuration of HikaMarket

[ ![Schermata&#95;2013-03-13&#95;alle&#95;15&#95;56&#95;55&#95;1.png](/forum/attachment/9091) ](/forum/attachment/9091 "...15&#95;56&#95;55&#95;1.png")

- [ ![Schermata&#95;2013-03-13&#95;alle&#95;15&#95;56&#95;55&#95;1.png](/forum/attachment/9091) ](/forum/attachment/9091 "...15&#95;56&#95;55&#95;1.png") [ ](/forum/attachment/9091?download=1 "...15&#95;56&#95;55&#95;1.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE5LWhpa2FtYXJrZXQvNzkyNDQtdmVuZG9ycy1saXN0P3RtcGw9bWFya2Rvd24=) or [Create an account](/register) 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: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

13 years 7 months ago [\#94460](#94460) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[vendors list](/forum/19-hikamarket/79244-vendors-list#94460 "Hi, How can i show a vendors list? thanks")*

Hi,

What do you mean with "the sub-category will not be created" ?
Do you mean the vendor category ?

Your configuration seams good.
If your vendor does not have his category, the category would be automatically created when you would update the vendor (edit the vendor in the backend and just save it without changing anything).

If you still have some problem, you can send me a private message with credentials and I will check your website.

Regards,

---

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE5LWhpa2FtYXJrZXQvNzkyNDQtdmVuZG9ycy1saXN0P3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 25
- Thank you received: 0
-
-

13 years 7 months ago [\#94508](#94508) by [orchideelab](/forum/user/14295-orchideelab "View orchideelab's Profile")  Replied by *[orchideelab](/forum/user/14295-orchideelab "View orchideelab's Profile")* on topic *[vendors list](/forum/19-hikamarket/79244-vendors-list#94508 "Hi, How can i show a vendors list? thanks")*

Hi Jerome,
I re-installed Joomla, now it seems to work better.
Now the system creates a category for each user, but if I try to create a
sub-category it returns back with the following error: "The access to this
page is forbidden"
The creation of the items works well.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE5LWhpa2FtYXJrZXQvNzkyNDQtdmVuZG9ycy1saXN0P3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 25
- Thank you received: 0
-
-

13 years 7 months ago [\#94530](#94530) by [orchideelab](/forum/user/14295-orchideelab "View orchideelab's Profile")  Replied by *[orchideelab](/forum/user/14295-orchideelab "View orchideelab's Profile")* on topic *[vendors list](/forum/19-hikamarket/79244-vendors-list#94530 "Hi, How can i show a vendors list? thanks")*

If you want i'll try to send credentials

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE5LWhpa2FtYXJrZXQvNzkyNDQtdmVuZG9ycy1saXN0P3RtcGw9bWFya2Rvd24=) or [Create an account](/register) 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: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

13 years 7 months ago [\#94551](#94551) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[vendors list](/forum/19-hikamarket/79244-vendors-list#94551 "Hi, How can i show a vendors list? thanks")*

Hi,

I reproduced your problem and fix it.
The new release of HikaMarket is planned for today ( [ www.hikashop.com/en/hikashop/147-hikamarket-change-log.html](http://www.hikashop.com/en/hikashop/147-hikamarket-change-log.html) )
There is just one improvement to finish about the invoices on vendor payments.

Regards,

---

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE5LWhpa2FtYXJrZXQvNzkyNDQtdmVuZG9ycy1saXN0P3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 25
- Thank you received: 0
-
-

13 years 7 months ago [\#94600](#94600) by [orchideelab](/forum/user/14295-orchideelab "View orchideelab's Profile")  Replied by *[orchideelab](/forum/user/14295-orchideelab "View orchideelab's Profile")* on topic *[vendors list](/forum/19-hikamarket/79244-vendors-list#94600 "Hi, How can i show a vendors list? thanks")*

thanks!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE5LWhpa2FtYXJrZXQvNzkyNDQtdmVuZG9ycy1saXN0P3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 25
- Thank you received: 0
-
-

13 years 7 months ago [\#95146](#95146) by [orchideelab](/forum/user/14295-orchideelab "View orchideelab's Profile")  Replied by *[orchideelab](/forum/user/14295-orchideelab "View orchideelab's Profile")* on topic *[vendors list](/forum/19-hikamarket/79244-vendors-list#95146 "Hi, How can i show a vendors list? thanks")*

Hi Jerome,
I realized that sub-category creation works fine but now item creation dosn't work.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE5LWhpa2FtYXJrZXQvNzkyNDQtdmVuZG9ycy1saXN0P3RtcGw9bWFya2Rvd24=) or [Create an account](/register) 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: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

13 years 7 months ago [\#95237](#95237) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[vendors list](/forum/19-hikamarket/79244-vendors-list#95237 "Hi, How can i show a vendors list? thanks")*

Hi,

Item creation ? Do you mean "product creation" ?
Would it be possible to have an access to your store in order to see/test it ?

Regards,

---

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE5LWhpa2FtYXJrZXQvNzkyNDQtdmVuZG9ycy1saXN0P3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 25
- Thank you received: 0
-
-

13 years 7 months ago [\#95351](#95351) by [orchideelab](/forum/user/14295-orchideelab "View orchideelab's Profile")  Replied by *[orchideelab](/forum/user/14295-orchideelab "View orchideelab's Profile")* on topic *[vendors list](/forum/19-hikamarket/79244-vendors-list#95351 "Hi, How can i show a vendors list? thanks")*

Yes product creation.
I noticed that are created but in the the main root NO in vendor's root
No i've a local installation.... i try to re-install on a webserver.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE5LWhpa2FtYXJrZXQvNzkyNDQtdmVuZG9ycy1saXN0P3RtcGw9bWFya2Rvd24=) or [Create an account](/register) 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: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

13 years 7 months ago [\#95506](#95506) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[vendors list](/forum/19-hikamarket/79244-vendors-list#95506 "Hi, How can i show a vendors list? thanks")*

Hi,

I have create a product with a vendor, removing the category root pre-filled by HikaMarket and save it.
The product has been created correctly in the vendor's root.
Do you use the latest version (1.1.1) ?

Regards,

---

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE5LWhpa2FtYXJrZXQvNzkyNDQtdmVuZG9ycy1saXN0P3RtcGw9bWFya2Rvd24=) or [Create an account](/register) 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: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

13 years 7 months ago [\#95598](#95598) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[vendors list](/forum/19-hikamarket/79244-vendors-list#95598 "Hi, How can i show a vendors list? thanks")*

Hi,

I have finally reproduce the problem.
I will fix it and make a new package as soon as possible.

Regards,

---

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE5LWhpa2FtYXJrZXQvNzkyNDQtdmVuZG9ycy1saXN0P3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 25
- Thank you received: 0
-
-

13 years 7 months ago [\#95599](#95599) by [orchideelab](/forum/user/14295-orchideelab "View orchideelab's Profile")  Replied by *[orchideelab](/forum/user/14295-orchideelab "View orchideelab's Profile")* on topic *[vendors list](/forum/19-hikamarket/79244-vendors-list#95599 "Hi, How can i show a vendors list? thanks")*

thanks! ![:)](/media/kunena/emoticons/3.png ":)")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE5LWhpa2FtYXJrZXQvNzkyNDQtdmVuZG9ycy1saXN0P3RtcGw9bWFya2Rvd24=) or [Create an account](/register) 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: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

13 years 7 months ago [\#95601](#95601) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[vendors list](/forum/19-hikamarket/79244-vendors-list#95601 "Hi, How can i show a vendors list? thanks")*

Hi,

Solved !

You can edit the file "component/com_hikamarket/views/productmarket/view.html.php" and replace the block: Code:

if(!empty($rootCategory)) { if(empty($product-&gt;categories)) $product-&gt;categories = array( $categoryClass-&gt;get($rootCategory) ); else { array_unshift($product-&gt;categories, $categoryClass-&gt;get($rootCategory)); } }

With: Code:

if(!empty($rootCategory)) { if(empty($product-&gt;categories)) $product-&gt;categories = array( $rootCategory =&gt; $categoryClass-&gt;get($rootCategory) ); else $product-&gt;categories[$rootCategory] = $categoryClass-&gt;get($rootCategory); }

Sorry for the inconvenient.

Regards,

---

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE5LWhpa2FtYXJrZXQvNzkyNDQtdmVuZG9ycy1saXN0P3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 25
- Thank you received: 0
-
-

13 years 7 months ago [\#95630](#95630) by [orchideelab](/forum/user/14295-orchideelab "View orchideelab's Profile")  Replied by *[orchideelab](/forum/user/14295-orchideelab "View orchideelab's Profile")* on topic *[vendors list](/forum/19-hikamarket/79244-vendors-list#95630 "Hi, How can i show a vendors list? thanks")*

No problem, thanks for your prompt support, now it works fine!
I will ask you for more help, I hope I can still trust on you

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE5LWhpa2FtYXJrZXQvNzkyNDQtdmVuZG9ycy1saXN0P3RtcGw9bWFya2Rvd24=) or [Create an account](/register) 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?

Moderators: [Obsidev](/forum/user/7040-obsidev "View Obsidev's Profile")

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

Time to create page: 0.146 seconds

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