Title: Assign a group using code/coupe while registering
Last modified: October 29, 2020

---

# Assign a group using code/coupe while registering

 *  Resolved [Arkaknio](https://wordpress.org/support/users/arkaknio/)
 * (@arkaknio)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/assign-a-group-using-code-coupe-while-registering/)
 * Hello team!,
 * I was wondering is this plugin allows to assing an specific group depending if
   you fill an special field with a code/coupon.
 * For example:
 * 1- One user registers without providing any code. Then it goes to Bronze Group.
 * 2- Another user registers providing an specific code, then it goes to Silver 
   Group.
 * 3- Last user registers providing an specific gold code, then it goes to Gold 
   Group.
 * I want to sort a my customers like this and I was wondering if this plugin fits.
 * Thanks!
 * P.D: If I need to purchase a paid addon, just let me know. That’s not a problem.

Viewing 1 replies (of 1 total)

 *  Plugin Author [Kento](https://wordpress.org/support/users/proaktion/)
 * (@proaktion)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/assign-a-group-using-code-coupe-while-registering/#post-13791810)
 * Hi!
 * Good question and idea for a feature, we actually have considered adding something
   like this for one of the premium extensions for WooCommerce, but I can’t give
   you an ETA for it at this point.
 * So right now, the only way to make this happen would be to code it. If that’s
   something you’d like to do, assuming you would use WooCommerce, you would hook
   into the order process, check the coupons that are used in the order and assign
   the related user account to the corresponding groups. I’ve posted a reply showing
   how you can assign someone to a group on a similar topic here: [https://wordpress.org/support/topic/how-to-add-user-to-a-group-from-woocommerce-form/#post-13791746](https://wordpress.org/support/topic/how-to-add-user-to-a-group-from-woocommerce-form/#post-13791746)
 * Cheers

Viewing 1 replies (of 1 total)

The topic ‘Assign a group using code/coupe while registering’ is closed to new replies.

 * ![](https://ps.w.org/groups/assets/icon-256x256.png?rev=983146)
 * [Groups](https://wordpress.org/plugins/groups/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/groups/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/groups/)
 * [Active Topics](https://wordpress.org/support/plugin/groups/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/groups/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/groups/reviews/)

## Tags

 * [memberships](https://wordpress.org/support/topic-tag/memberships/)

 * 1 reply
 * 2 participants
 * Last reply from: [Kento](https://wordpress.org/support/users/proaktion/)
 * Last activity: [5 years, 5 months ago](https://wordpress.org/support/topic/assign-a-group-using-code-coupe-while-registering/#post-13791810)
 * Status: resolved