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

#   State is not displayed when registering a new user

##

- **[Ronon](/forum/user/16953-ronon "View Ronon's Profile")**
- [![Ronon's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar_2013-04-25.jpg)](/forum/user/16953-ronon "View Ronon's Profile") Topic Author
- [ Offline](/forum/user/16953-ronon)

Less More

- Posts: 107
- Thank you received: 1
-
-
-
-

13 years 6 months ago [\#100908](#100908) by [Ronon](/forum/user/16953-ronon "View Ronon's Profile")  *[State is not displayed when registering a new user](/forum/3-bug-report/80946-state-is-not-displayed-when-registering-a-new-user#100908 "Hi, when a user is registered in my store, the state is not displayed, only the country. Once registered, you can edit the address and add the rule correctly, but in the register process does not appear to select the state.  What could be the problem? I attached a file where I have marked with red arrows where states should appear. The capture is in Spanish.  Thank you!")* was created by *[Ronon](/forum/user/16953-ronon "View Ronon's Profile")*

Hi, when a user is registered in my store, the state is not displayed, only the country. Once registered, you can edit the address and add the rule correctly, but in the register process does not appear to select the state.

What could be the problem? I attached a file where I have marked with red arrows where states should appear. The capture is in Spanish.

Thank you!

- [ ![registro-hikashop.jpg](/forum/attachment/9831) ](/forum/attachment/9831 "...o-hikashop.jpg") [ ](/forum/attachment/9831?download=1 "...o-hikashop.jpg")

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

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

13 years 6 months ago [\#100933](#100933) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[State is not displayed when registering a new user](/forum/3-bug-report/80946-state-is-not-displayed-when-registering-a-new-user#100933 "Hi, when a user is registered in my store, the state is not displayed, only the country. Once registered, you can edit the address and add the rule correctly, but in the register process does not appear to select the state.  What could be the problem? I attached a file where I have marked with red arrows where states should appear. The capture is in Spanish.  Thank you!")*

Hi,
The problem is maybe coming from the fact that you unpublished your "address_state" custom field through "*Hikashop-&gt;Display-&gt;custom field*".

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

- **[Ronon](/forum/user/16953-ronon "View Ronon's Profile")**
- [![Ronon's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar_2013-04-25.jpg)](/forum/user/16953-ronon "View Ronon's Profile") Topic Author
- [ Offline](/forum/user/16953-ronon)

Less More

- Posts: 107
- Thank you received: 1
-
-
-
-

13 years 6 months ago [\#101048](#101048) by [Ronon](/forum/user/16953-ronon "View Ronon's Profile")  Replied by *[Ronon](/forum/user/16953-ronon "View Ronon's Profile")* on topic *[State is not displayed when registering a new user](/forum/3-bug-report/80946-state-is-not-displayed-when-registering-a-new-user#101048 "Hi, when a user is registered in my store, the state is not displayed, only the country. Once registered, you can edit the address and add the rule correctly, but in the register process does not appear to select the state.  What could be the problem? I attached a file where I have marked with red arrows where states should appear. The capture is in Spanish.  Thank you!")*

Hello, I've been there and address_state field, the provinces are not my country, I send you a screenshot for you to see. How I can put the provinces of my country? I tried creating a new field, select Area and still appear the other provinces ... Thank you.

- [ ![address-state.jpg](/forum/attachment/9839) ](/forum/attachment/9839 "address-state.jpg") [ ](/forum/attachment/9839?download=1 "address-state.jpg")

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

13 years 6 months ago [\#101067](#101067) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[State is not displayed when registering a new user](/forum/3-bug-report/80946-state-is-not-displayed-when-registering-a-new-user#101067 "Hi, when a user is registered in my store, the state is not displayed, only the country. Once registered, you can edit the address and add the rule correctly, but in the register process does not appear to select the state.  What could be the problem? I attached a file where I have marked with red arrows where states should appear. The capture is in Spanish.  Thank you!")*

Hi,

If your address state is empty it is because the default country is unpublished.
The "country" custom field have a default value, but if the stored default value is an unpublished country, it would display the first published country.

The state is linked to the default country so by default it will load the states of the default country but... If this default country is unpublished, it would not load the state of the first published country.
It is something that we want to improve in the future.

For the moment, you just have to edit your "country custom field" and re-save it.
By saving it, you would update the default value with the first published country and all will work right after that.

Regards,

---

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

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

- **[Ronon](/forum/user/16953-ronon "View Ronon's Profile")**
- [![Ronon's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar_2013-04-25.jpg)](/forum/user/16953-ronon "View Ronon's Profile") Topic Author
- [ Offline](/forum/user/16953-ronon)

Less More

- Posts: 107
- Thank you received: 1
-
-
-
-

13 years 6 months ago [\#101069](#101069) by [Ronon](/forum/user/16953-ronon "View Ronon's Profile")  Replied by *[Ronon](/forum/user/16953-ronon "View Ronon's Profile")* on topic *[State is not displayed when registering a new user](/forum/3-bug-report/80946-state-is-not-displayed-when-registering-a-new-user#101069 "Hi, when a user is registered in my store, the state is not displayed, only the country. Once registered, you can edit the address and add the rule correctly, but in the register process does not appear to select the state.  What could be the problem? I attached a file where I have marked with red arrows where states should appear. The capture is in Spanish.  Thank you!")*

Thank you. The country was also published and provinces. Before reading your post, I decided to change the field type from "Zone" to "Drop Down Easy" and manually add the provinces. Now is fine. I enclose two sacks. Thanks for all, greetings.

- [ ![Sin&#95;ttulo-10.jpg](/forum/attachment/9843) ](/forum/attachment/9843 "Sin&#95;ttulo-10.jpg") [ ](/forum/attachment/9843?download=1 "Sin&#95;ttulo-10.jpg")
- [ ![Sin&#95;ttulo-12.jpg](/forum/attachment/9844) ](/forum/attachment/9844 "Sin&#95;ttulo-12.jpg") [ ](/forum/attachment/9844?download=1 "Sin&#95;ttulo-12.jpg")

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

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

[](#top)
