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

#   Customer group by address

##

- **[m.fontana](/forum/user/35027-m-fontana "View m.fontana's Profile")**
- [![m.fontana's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar35027.png)](/forum/user/35027-m-fontana "View m.fontana's Profile") Topic Author
- [ Offline](/forum/user/35027-m-fontana)
- Matteo Fontana

Less More

- Posts: 121
- Thank you received: 1
-
-
-
- [](http://www.apiceweb.it)
-

10 years 10 months ago [\#226970](#226970) by [m.fontana](/forum/user/35027-m-fontana "View m.fontana's Profile")  *[Customer group by address](/forum/33-customers/881648-customer-group-by-address#226970 "-- HikaShop version -- : 2.4 -- Joomla version -- : 3.4.8  Hi, how can I do for assign automatically a different customer group when my customer registered on my site? My ecommerce have different price for customer group, this is based by address expecially on ZIP and district, so when people do the registration form based on what they write they will be assigned to a customer group; example: - one customer write 30022 on CAP and VE on district, so its customer group is Venezia - one customer write 31010 on CAP and TV on district, so its customer group is Treviso  I hope that I explain myself Thanks so much Matteo")* was created by *[m.fontana](/forum/user/35027-m-fontana "View m.fontana's Profile")*

-- HikaShop version -- : 2.4
-- Joomla version -- : 3.4.8

Hi,
how can I do for assign automatically a different customer group when my customer registered on my site?
My ecommerce have different price for customer group, this is based by address expecially on ZIP and district, so when people do the registration form based on what they write they will be assigned to a customer group; example:
- one customer write 30022 on CAP and VE on district, so its customer group is Venezia
- one customer write 31010 on CAP and TV on district, so its customer group is Treviso

I hope that I explain myself
Thanks so much
Matteo

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

10 years 10 months ago [\#226975](#226975) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Customer group by address](/forum/33-customers/881648-customer-group-by-address#226975 "-- HikaShop version -- : 2.4 -- Joomla version -- : 3.4.8  Hi, how can I do for assign automatically a different customer group when my customer registered on my site? My ecommerce have different price for customer group, this is based by address expecially on ZIP and district, so when people do the registration form based on what they write they will be assigned to a customer group; example: - one customer write 30022 on CAP and VE on district, so its customer group is Venezia - one customer write 31010 on CAP and TV on district, so its customer group is Treviso  I hope that I explain myself Thanks so much Matteo")*

Hi,

You need a custom plugin to do so.
The idea is to use an HikaShop (or a Joomla) trigger to be notified when a user is created and then, to change is user groups depending his values.
If you want to base the algorithm on the HikaShop values, the best would be to use the HikaShop trigger.
[ www.hikashop.com/support/support/documen...ml#onAfterUserCreate](https://www.hikashop.com/support/support/documentation/62-hikashop-developer-documentation.html#onAfterUserCreate)

Regards,

---

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

The following user(s) said Thank You: [m.fontana](/forum/user/35027-m-fontana "View m.fontana's Profile")

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

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