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

#   Allow user to select his group in Hikashop registration form

##

- **[Savickis](/forum/user/26490-savickis "View Savickis's Profile")**
- [![Savickis's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar26490.jpg)](/forum/user/26490-savickis "View Savickis's Profile") Topic Author
- [ Offline](/forum/user/26490-savickis)

Less More

- Posts: 41
- Thank you received: 9
-
-

9 years 4 days ago -  9 years 4 days ago [\#282908](#282908) by [Savickis](/forum/user/26490-savickis "View Savickis's Profile")  *[Allow user to select his group in Hikashop registration form](/forum/33-customers/892854-allow-user-to-select-his-group-in-hikashop-registration-form#282908 "-- HikaShop version -- : 3.2.1 Business -- Joomla version -- : 3.8.2 -- PHP version -- : 5.5.38  Hello!  I want users to be able to choose user group upon registration. For that reason I found great small Joome Plugin called Usergroup Selector () - it adds simple dropdown with selectable user group to the Joomla Registration form (as a custom field below the form).  The problem is - I'm now forcing Hikashop registration form as the default registration for the site, so this custom field doesn't show up.  Is there any chance to include this custom field in the Hikashop registration form? As there are two types of users registering, it's really necessary to allow them to automatically choose their group during the registration.  Can you suggest the code that could be added to user / registration view, to add such a field and export two of the usergroups for client to choose from?  Thank you very much in advance, best regards!")* was created by *[Savickis](/forum/user/26490-savickis "View Savickis's Profile")*

-- HikaShop version -- : 3.2.1 Business
-- Joomla version -- : 3.8.2
-- PHP version -- : 5.5.38

Hello!

I want users to be able to choose user group upon registration. For that reason I found great small Joome Plugin called Usergroup Selector ([ this one](http://www.function90.com/docs/usergroup-selector.html)) - it adds simple dropdown with selectable user group to the Joomla Registration form (as a custom field below the form).

The problem is - I'm now forcing Hikashop registration form as the default registration for the site, so this custom field doesn't show up.

Is there any chance to include this custom field in the Hikashop registration form?
**As there are two types of users registering, it's really necessary to allow them to automatically choose their group during the registration**.

Can you suggest the code that could be added to *user / registration* view, to add such a field and export two of the usergroups for client to choose from?

Thank you very much in advance, best regards!

Last edit: 9 years 4 days ago by [Savickis](/forum/user/26490-savickis "View Savickis's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMzLWN1c3RvbWVycy84OTI4NTQtYWxsb3ctdXNlci10by1zZWxlY3QtaGlzLWdyb3VwLWluLWhpa2FzaG9wLXJlZ2lzdHJhdGlvbi1mb3JtP3RtcGw9bWFya2Rvd24=) 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: 86584
- Thank you received: 14325
-
-

9 years 4 days ago [\#282909](#282909) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Allow user to select his group in Hikashop registration form](/forum/33-customers/892854-allow-user-to-select-his-group-in-hikashop-registration-form#282909 "-- HikaShop version -- : 3.2.1 Business -- Joomla version -- : 3.8.2 -- PHP version -- : 5.5.38  Hello!  I want users to be able to choose user group upon registration. For that reason I found great small Joome Plugin called Usergroup Selector () - it adds simple dropdown with selectable user group to the Joomla Registration form (as a custom field below the form).  The problem is - I'm now forcing Hikashop registration form as the default registration for the site, so this custom field doesn't show up.  Is there any chance to include this custom field in the Hikashop registration form? As there are two types of users registering, it's really necessary to allow them to automatically choose their group during the registration.  Can you suggest the code that could be added to user / registration view, to add such a field and export two of the usergroups for client to choose from?  Thank you very much in advance, best regards!")*

Hi,

It's not possible to have Joomla custom fields added to the HikaShop registration form.
However, HikaShop can already do that since a while and without another extension.
You need to create a custom field of the table "user" or "address" via the menu Display&gt;Custom fields where each value of the custom field has the id of the user group you want in the "value" field.
Then, select that custom field in the "User group on registration" setting of the HikaShop configuration page and the created user accounts will automatically be associated with the user group which id corresponds to the value selected in the custom field on the registration form.

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

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