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

#   Create Vendor Category in speficified location

##

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

Less More

- Posts: 377
- Thank you received: 7
-
-

11 years 5 months ago [\#203442](#203442) by [Dibben](/forum/user/6788-dibben "View Dibben's Profile")  *[Create Vendor Category in speficified location](/forum/23-market-how-to/877276-create-vendor-category-in-speficified-location#203442 "-- HikaShop version -- : 2.4.0 -- HikaMarket version -- : 1.6.2 -- Joomla version -- : 3.4.1 -- PHP version -- : 5.4  Hi  I would like to know if it is possible to create the vendor category in the category selected while creating the vendor? At the moment it places the vendor category in the root of the site however when i create the vendor i have the option to set the vendor root category. I would have thought it would create the category then in the root that i selected when creating the vendor? The reason i need to do this is is because i want some vendors to be visible from the front end but not all so those which register themselves will be able to sell but not be mixed with the 'school vendors' Please see images attached.  Please let me know if you need me to explain further.  Kind regards  Alex")* was created by *[Dibben](/forum/user/6788-dibben "View Dibben's Profile")*

-- HikaShop version -- : 2.4.0
-- HikaMarket version -- : 1.6.2
-- Joomla version -- : 3.4.1
-- PHP version -- : 5.4

Hi

I would like to know if it is possible to create the vendor category in the category selected while creating the vendor? At the moment it places the vendor category in the root of the site however when i create the vendor i have the option to set the vendor root category. I would have thought it would create the category then in the root that i selected when creating the vendor? The reason i need to do this is is because i want some vendors to be visible from the front end but not all so those which register themselves will be able to sell but not be mixed with the 'school vendors' Please see images attached.

Please let me know if you need me to explain further.

Kind regards

Alex

- [ ![vendor1.png](/forum/attachment/24722) ](/forum/attachment/24722 "vendor1.png") [ ](/forum/attachment/24722?download=1 "vendor1.png")
- [ ![vendor2.png](/forum/attachment/24723) ](/forum/attachment/24723 "vendor2.png") [ ](/forum/attachment/24723?download=1 "vendor2.png")
- [ ![vendor3.png](/forum/attachment/24724) ](/forum/attachment/24724 "vendor3.png") [ ](/forum/attachment/24724?download=1 "vendor3.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIzLW1hcmtldC1ob3ctdG8vODc3Mjc2LWNyZWF0ZS12ZW5kb3ItY2F0ZWdvcnktaW4tc3BlZmljaWZpZWQtbG9jYXRpb24/dG1wbD1tYXJrZG93bg==) 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: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

11 years 5 months ago [\#203491](#203491) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Create Vendor Category in speficified location](/forum/23-market-how-to/877276-create-vendor-category-in-speficified-location#203491 "-- HikaShop version -- : 2.4.0 -- HikaMarket version -- : 1.6.2 -- Joomla version -- : 3.4.1 -- PHP version -- : 5.4  Hi  I would like to know if it is possible to create the vendor category in the category selected while creating the vendor? At the moment it places the vendor category in the root of the site however when i create the vendor i have the option to set the vendor root category. I would have thought it would create the category then in the root that i selected when creating the vendor? The reason i need to do this is is because i want some vendors to be visible from the front end but not all so those which register themselves will be able to sell but not be mixed with the 'school vendors' Please see images attached.  Please let me know if you need me to explain further.  Kind regards  Alex")*

Hi,

It is possible using a custom plugin.
Because we didn't see a generic schema we can't propose that feature for the moment (but I hope that we will find a good way to allow it for almost all users).

So for the moment the best is to create a custom plugin and change dynamically the vendor root category depending another value.
The idea is to use the trigger "onAfterVendorCreate" and modify the vendor object to set the vendor root category.
[ www.hikashop.com/support/documentation/1...#onAfterVendorCreate](http://www.hikashop.com/support/documentation/163-hikamarket-developer.html#onAfterVendorCreate)

Regards,

---

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIzLW1hcmtldC1ob3ctdG8vODc3Mjc2LWNyZWF0ZS12ZW5kb3ItY2F0ZWdvcnktaW4tc3BlZmljaWZpZWQtbG9jYXRpb24/dG1wbD1tYXJrZG93bg==) 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?

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

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

Time to create page: 0.052 seconds

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