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

#   Different user group per vendor

##

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

Less More

- Posts: 40
- Thank you received: 0
-
-

12 years 9 months ago [\#141213](#141213) by [sky7](/forum/user/7235-sky7 "View sky7's Profile")  *[Different user group per vendor](/forum/23-market-how-to/865331-different-user-group-per-vendor#141213 "Good day,  I would like to create different user/client groups that can only view products of a particular vendor. Vendor 1 (apples wholesaler) Vendor 2 (oranges wholesaler)  Each client goup should be categorised on registration by unique custom fields Client Group 1 (restriceted to purchase Vendor 1 products-apples) - Client Group 2 (restriceted to purchase Vendor 2 products-oranges) Client Group 3 (can by from all/both vendors)  Client Group 1 - uses ID no - directed to Vendor 1 after registration Client Group 2 - uses Passport no.- directed to Vendor 2 after registration Client Group 3 - uses Company reg no. - directed to cart with both vendors products  Any assistance shall be greatly appreciated.")* was created by *[sky7](/forum/user/7235-sky7 "View sky7's Profile")*

Good day,

I would like to create different user/client groups that can only view products of a particular vendor.
Vendor 1 (apples wholesaler)
Vendor 2 (oranges wholesaler)

Each client goup should be categorised on registration by unique custom fields
Client Group 1 (restriceted to purchase Vendor 1 products-apples) -
Client Group 2 (restriceted to purchase Vendor 2 products-oranges)
Client Group 3 (can by from all/both vendors)

Client Group 1 - uses ID no - directed to Vendor 1 after registration
Client Group 2 - uses Passport no.- directed to Vendor 2 after registration
Client Group 3 - uses Company reg no. - directed to cart with both vendors products

Any assistance shall be greatly appreciated.

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

12 years 9 months ago [\#141216](#141216) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Different user group per vendor](/forum/23-market-how-to/865331-different-user-group-per-vendor#141216 "Good day,  I would like to create different user/client groups that can only view products of a particular vendor. Vendor 1 (apples wholesaler) Vendor 2 (oranges wholesaler)  Each client goup should be categorised on registration by unique custom fields Client Group 1 (restriceted to purchase Vendor 1 products-apples) - Client Group 2 (restriceted to purchase Vendor 2 products-oranges) Client Group 3 (can by from all/both vendors)  Client Group 1 - uses ID no - directed to Vendor 1 after registration Client Group 2 - uses Passport no.- directed to Vendor 2 after registration Client Group 3 - uses Company reg no. - directed to cart with both vendors products  Any assistance shall be greatly appreciated.")*

Hi,

There is no such restriction for the vendors but the restriction exists for the products.
You can create two "product template" in HikaMarket and set the "Access Level" for these templates.

The idea is to set the Access Level to all products of the two vendors.
By using the product template, you will be sure that all new products will follow the original configuration (you do not let your vendors change this field, by removing the "product / edit / access" ACL in HikaMarket).
Using the mass action, you can modify all existing products of the two vendors in order to set the acl.

At this moment, the restrictions will be automatically applied to the products and the final result will be exactly the same.
I note your request in the HikaMarket TODO list and I will see if it is possible to implement such feature but it is already possible to do it using the procedure just above.

If you want more details, do not hesitate to ask.

Regards,

---

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

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

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

Less More

- Posts: 40
- Thank you received: 0
-
-

12 years 9 months ago [\#141220](#141220) by [sky7](/forum/user/7235-sky7 "View sky7's Profile")  Replied by *[sky7](/forum/user/7235-sky7 "View sky7's Profile")* on topic *[Different user group per vendor](/forum/23-market-how-to/865331-different-user-group-per-vendor#141220 "Good day,  I would like to create different user/client groups that can only view products of a particular vendor. Vendor 1 (apples wholesaler) Vendor 2 (oranges wholesaler)  Each client goup should be categorised on registration by unique custom fields Client Group 1 (restriceted to purchase Vendor 1 products-apples) - Client Group 2 (restriceted to purchase Vendor 2 products-oranges) Client Group 3 (can by from all/both vendors)  Client Group 1 - uses ID no - directed to Vendor 1 after registration Client Group 2 - uses Passport no.- directed to Vendor 2 after registration Client Group 3 - uses Company reg no. - directed to cart with both vendors products  Any assistance shall be greatly appreciated.")*

Thank you Jerome.

I am going to attempt your suggestion. but before I do that
1. Is it possible to devide my clients into three groups so that depending on which group they are assigned to they will only see relevant menus, and products.
2. Can I get a client to fill in a custom hikashop/market user registration form instead of the standard joomla?

Look forward to your response

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

12 years 9 months ago [\#141283](#141283) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Different user group per vendor](/forum/23-market-how-to/865331-different-user-group-per-vendor#141283 "Good day,  I would like to create different user/client groups that can only view products of a particular vendor. Vendor 1 (apples wholesaler) Vendor 2 (oranges wholesaler)  Each client goup should be categorised on registration by unique custom fields Client Group 1 (restriceted to purchase Vendor 1 products-apples) - Client Group 2 (restriceted to purchase Vendor 2 products-oranges) Client Group 3 (can by from all/both vendors)  Client Group 1 - uses ID no - directed to Vendor 1 after registration Client Group 2 - uses Passport no.- directed to Vendor 2 after registration Client Group 3 - uses Company reg no. - directed to cart with both vendors products  Any assistance shall be greatly appreciated.")*

Hi,

Yes you can use the HikaShop user registration instead of the Joomla one.
There is a system plugin which redirect the users to the HikaShop registration form ( hikashop registration redirect ).

About the custom fields and the user group. There is no implemented feature for that but you can use a custom plugin in order to write your own rules.
Using the trigger "onAfterUserCreate" and some code of the plugin "HikaShop group after purchase" you can catch the user creation, read the custom field and assign a special user group to the just created user.
I don't see how we can propose an interface for the configuration of such specific feature to make it as generic as possible ; that's why for the moment the best solution is to have a little plugin for your rules.

Regards,

---

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

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

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