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

#   register user and put in specific groups based upo

##

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

Less More

- Posts: 217
- Thank you received: 1
-
-

14 years 2 months ago [\#64976](#64976) by [Mat](/forum/user/4216-mat "View Mat's Profile")  *[register user and put in specific groups based upo](/forum/2-general-talk-about-hikashop/64976-register-user-and-put-in-specific-groups-based-upo#64976 "Hi all,  I want to register users on payment and put them in specific groups based upon what they bought.  Even for existing users if they buy product X can I put them in group Y or access level Z?  Cheers,  Mat")* was created by *[Mat](/forum/user/4216-mat "View Mat's Profile")*

Hi all,

I want to register users on payment and put them in specific groups based upon what they bought.

Even for existing users if they buy product X can I put them in group Y or access level Z?

Cheers,

Mat

The following user(s) said Thank You: [giusedosi](/forum/user/30647-giusedosi "View giusedosi's Profile")

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

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

Less More

- Posts: 217
- Thank you received: 1
-
-

14 years 2 months ago [\#64979](#64979) by [Mat](/forum/user/4216-mat "View Mat's Profile")  Replied by *[Mat](/forum/user/4216-mat "View Mat's Profile")* on topic *[Re: register user and put in specific groups based upo](/forum/2-general-talk-about-hikashop/64976-register-user-and-put-in-specific-groups-based-upo#64979 "Hi all,  I want to register users on payment and put them in specific groups based upon what they bought.  Even for existing users if they buy product X can I put them in group Y or access level Z?  Cheers,  Mat")*

On product page: User group after purchase

resolved

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

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

Less More

- Posts: 217
- Thank you received: 1
-
-

14 years 2 months ago [\#64982](#64982) by [Mat](/forum/user/4216-mat "View Mat's Profile")  Replied by *[Mat](/forum/user/4216-mat "View Mat's Profile")* on topic *[Re: register user and put in specific groups based upo](/forum/2-general-talk-about-hikashop/64976-register-user-and-put-in-specific-groups-based-upo#64982 "Hi all,  I want to register users on payment and put them in specific groups based upon what they bought.  Even for existing users if they buy product X can I put them in group Y or access level Z?  Cheers,  Mat")*

Is it possible to put them in multiple groups and remove them from other groups?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzY0OTc2LXJlZ2lzdGVyLXVzZXItYW5kLXB1dC1pbi1zcGVjaWZpYy1ncm91cHMtYmFzZWQtdXBvP3RtcGw9bWFya2Rvd24=) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86555
- Thank you received: 14304
-
-

14 years 2 months ago [\#65162](#65162) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: register user and put in specific groups based upo](/forum/2-general-talk-about-hikashop/64976-register-user-and-put-in-specific-groups-based-upo#65162 "Hi all,  I want to register users on payment and put them in specific groups based upon what they bought.  Even for existing users if they buy product X can I put them in group Y or access level Z?  Cheers,  Mat")*

It will only work for one group per product.
However, if you really need it, you can trick the system by having option products ( [ www.hikashop.com/en/support/documentatio...ct-form.html#options](http://www.hikashop.com/en/support/documentation/integrated-documentation/19-hikashop-product-form.html#options) ) attached to your product, have each option product assigned to a group, and then hide the option area on the product page, the checkout, the invoice, the emails so that the options don't display. If you know PHP a minimum, it's feasible, otherwise, I would recommend against it or have it done by a professional developer.

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

- **[3by400](/forum/user/6842-3by400 "View 3by400's Profile")**
- [![3by400's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6842.jpg)](/forum/user/6842-3by400 "View 3by400's Profile")
- [ Offline](/forum/user/6842-3by400)

Less More

- Posts: 211
- Thank you received: 14
-
-
- [](https://3by400.com)
-

13 years 10 months ago [\#83346](#83346) by [3by400](/forum/user/6842-3by400 "View 3by400's Profile")  Replied by *[3by400](/forum/user/6842-3by400 "View 3by400's Profile")* on topic *[Add group and remove group after purchase](/forum/2-general-talk-about-hikashop/64976-register-user-and-put-in-specific-groups-based-upo#83346 "Hi all,  I want to register users on payment and put them in specific groups based upon what they bought.  Even for existing users if they buy product X can I put them in group Y or access level Z?  Cheers,  Mat")*

I'm also needing assistance with the "User group after purchase" feature. We are selling a membership in HikaShop and need to have customers added to the 'member' group after purchase. They are successfully added to the member group, but they are also added to the Public group and are not removed from the Registered group.

So, before the purchase they are in the Registered group, but after purchase they are in the Public, Registered and Member groups. I need them to only be in the Member group after purchase. I'm not sure why the Public group is being added. The multiple groups assignment is causing permissions issues for Members.

---

3by400, Inc.
[ 3by400.com](https://3by400.com)
Websites that Work, Marketing that Matters

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzY0OTc2LXJlZ2lzdGVyLXVzZXItYW5kLXB1dC1pbi1zcGVjaWZpYy1ncm91cHMtYmFzZWQtdXBvP3RtcGw9bWFya2Rvd24=) 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: 4080
-
- [](http://obsi.dev)
-

13 years 10 months ago [\#83442](#83442) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Add group and remove group after purchase](/forum/2-general-talk-about-hikashop/64976-register-user-and-put-in-specific-groups-based-upo#83442 "Hi all,  I want to register users on payment and put them in specific groups based upon what they bought.  Even for existing users if they buy product X can I put them in group Y or access level Z?  Cheers,  Mat")*

Hi,

The plugin "group after purchase" just add a user to a group, it does not "move" the user from a group to another one.
You should use a specific plugin (duplicate the "group after purchase" one and modify it) to create your specific workflow.

Regards,

---

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

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

- **[3by400](/forum/user/6842-3by400 "View 3by400's Profile")**
- [![3by400's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6842.jpg)](/forum/user/6842-3by400 "View 3by400's Profile")
- [ Offline](/forum/user/6842-3by400)

Less More

- Posts: 211
- Thank you received: 14
-
-
- [](https://3by400.com)
-

13 years 10 months ago [\#83471](#83471) by [3by400](/forum/user/6842-3by400 "View 3by400's Profile")  Replied by *[3by400](/forum/user/6842-3by400 "View 3by400's Profile")* on topic *[Add group and remove group after purchase](/forum/2-general-talk-about-hikashop/64976-register-user-and-put-in-specific-groups-based-upo#83471 "Hi all,  I want to register users on payment and put them in specific groups based upon what they bought.  Even for existing users if they buy product X can I put them in group Y or access level Z?  Cheers,  Mat")*

Ok. I'm still not sure why the user is being added to the Public group. I do not have 'Public' selected in the "group after purchase" option and the users are not in the 'Public' group before the purchase either.

---

3by400, Inc.
[ 3by400.com](https://3by400.com)
Websites that Work, Marketing that Matters

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzY0OTc2LXJlZ2lzdGVyLXVzZXItYW5kLXB1dC1pbi1zcGVjaWZpYy1ncm91cHMtYmFzZWQtdXBvP3RtcGw9bWFya2Rvd24=) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86555
- Thank you received: 14304
-
-

13 years 10 months ago [\#83631](#83631) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Add group and remove group after purchase](/forum/2-general-talk-about-hikashop/64976-register-user-and-put-in-specific-groups-based-upo#83631 "Hi all,  I want to register users on payment and put them in specific groups based upon what they bought.  Even for existing users if they buy product X can I put them in group Y or access level Z?  Cheers,  Mat")*

Hikashop does not add the user to any group besides the groups you define in the "group after purchase" option. It means that when the user registers, it is added to both the pbulic and the registered user group.

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

- **[3by400](/forum/user/6842-3by400 "View 3by400's Profile")**
- [![3by400's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6842.jpg)](/forum/user/6842-3by400 "View 3by400's Profile")
- [ Offline](/forum/user/6842-3by400)

Less More

- Posts: 211
- Thank you received: 14
-
-
- [](https://3by400.com)
-

13 years 10 months ago [\#84478](#84478) by [3by400](/forum/user/6842-3by400 "View 3by400's Profile")  Replied by *[3by400](/forum/user/6842-3by400 "View 3by400's Profile")* on topic *[Add group and remove group after purchase](/forum/2-general-talk-about-hikashop/64976-register-user-and-put-in-specific-groups-based-upo#84478 "Hi all,  I want to register users on payment and put them in specific groups based upon what they bought.  Even for existing users if they buy product X can I put them in group Y or access level Z?  Cheers,  Mat")*

I have thoroughly tested this process, and a registered user is only added to the Public group after purchasing a product with 'group after purchase' set to 'member'. The user is not added to the Public group at the time of registration.

---

3by400, Inc.
[ 3by400.com](https://3by400.com)
Websites that Work, Marketing that Matters

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzY0OTc2LXJlZ2lzdGVyLXVzZXItYW5kLXB1dC1pbi1zcGVjaWZpYy1ncm91cHMtYmFzZWQtdXBvP3RtcGw9bWFya2Rvd24=) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86555
- Thank you received: 14304
-
-

13 years 10 months ago [\#85191](#85191) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Add group and remove group after purchase](/forum/2-general-talk-about-hikashop/64976-register-user-and-put-in-specific-groups-based-upo#85191 "Hi all,  I want to register users on payment and put them in specific groups based upon what they bought.  Even for existing users if they buy product X can I put them in group Y or access level Z?  Cheers,  Mat")*

We are not able to replicate.
Which version of Joomla are you using and which extensions are you using on your website ?

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

- **[3by400](/forum/user/6842-3by400 "View 3by400's Profile")**
- [![3by400's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6842.jpg)](/forum/user/6842-3by400 "View 3by400's Profile")
- [ Offline](/forum/user/6842-3by400)

Less More

- Posts: 211
- Thank you received: 14
-
-
- [](https://3by400.com)
-

13 years 10 months ago -  13 years 10 months ago [\#85356](#85356) by [3by400](/forum/user/6842-3by400 "View 3by400's Profile")  Replied by *[3by400](/forum/user/6842-3by400 "View 3by400's Profile")* on topic *[Add group and remove group after purchase](/forum/2-general-talk-about-hikashop/64976-register-user-and-put-in-specific-groups-based-upo#85356 "Hi all,  I want to register users on payment and put them in specific groups based upon what they bought.  Even for existing users if they buy product X can I put them in group Y or access level Z?  Cheers,  Mat")*

After some additional testing I think the bug arises when a customer purchases a product that has 'group after purchase' set in conjunction with a product option that also has 'group after purchase' set. Maybe purchasing two products or a product with an option that have 'group after purchase' causes the issue?

---

3by400, Inc.
[ 3by400.com](https://3by400.com)
Websites that Work, Marketing that Matters

Last edit: 13 years 10 months ago by [3by400](/forum/user/6842-3by400 "View 3by400's Profile").

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

13 years 10 months ago [\#85428](#85428) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Add group and remove group after purchase](/forum/2-general-talk-about-hikashop/64976-register-user-and-put-in-specific-groups-based-upo#85428 "Hi all,  I want to register users on payment and put them in specific groups based upon what they bought.  Even for existing users if they buy product X can I put them in group Y or access level Z?  Cheers,  Mat")*

Have the both products the same group assigned for after purchase ?

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

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