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

#   Trouble adding customer address on backend

##

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

Less More

- Posts: 62
- Thank you received: 1
-
-

9 years 8 months ago [\#263847](#263847) by [blackfrog](/forum/user/36484-blackfrog "View blackfrog's Profile")  *[Trouble adding customer address on backend](/forum/33-customers/889136-trouble-adding-customer-address-on-backend#263847 "-- HikaShop version -- : 3.0.0 -- Joomla version -- : 3.6.5 -- PHP version -- : 5.6.3  Hello, I am setting up dealers on the backend. I create them as a user, and then go to the customer field to put in their address information. The system will not give me the opportunity to put in a state unless I pick a country, but it doesn't give me an area to pick a country (even though they are all US). So I put in what I can, and then log into the front end as the dealer. Going to the profile it then gives me a dropdown to select a state... what am I missing here?  Here is the back end shot.")* was created by *[blackfrog](/forum/user/36484-blackfrog "View blackfrog's Profile")*

-- HikaShop version -- : 3.0.0
-- Joomla version -- : 3.6.5
-- PHP version -- : 5.6.3

Hello,
I am setting up dealers on the backend. I create them as a user, and then go to the customer field to put in their address information. The system will not give me the opportunity to put in a state unless I pick a country, but it doesn't give me an area to pick a country (even though they are all US). So I put in what I can, and then log into the front end as the dealer. Going to the profile it then gives me a dropdown to select a state... what am I missing here?

Here is the back end shot.

[ ![screenshot4.png](/forum/attachment/36723) ](/forum/attachment/36723 "screenshot4.png")

- [ ![screenshot4.png](/forum/attachment/36723) ](/forum/attachment/36723 "screenshot4.png") [ ](/forum/attachment/36723?download=1 "screenshot4.png")

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

9 years 8 months ago [\#263857](#263857) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Trouble adding customer address on backend](/forum/33-customers/889136-trouble-adding-customer-address-on-backend#263857 "-- HikaShop version -- : 3.0.0 -- Joomla version -- : 3.6.5 -- PHP version -- : 5.6.3  Hello, I am setting up dealers on the backend. I create them as a user, and then go to the customer field to put in their address information. The system will not give me the opportunity to put in a state unless I pick a country, but it doesn't give me an area to pick a country (even though they are all US). So I put in what I can, and then log into the front end as the dealer. Going to the profile it then gives me a dropdown to select a state... what am I missing here?  Here is the back end shot.")*

Hi,

Change the line:
$address_country_field = $this-&gt;parent-&gt;get(14);
to:
$address_country_field = $this-&gt;parent-&gt;get(13);
in the file administrator/components/com_hikashop/classes/field.php and that should fix the problem.

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

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

Less More

- Posts: 62
- Thank you received: 1
-
-

9 years 8 months ago [\#264289](#264289) by [blackfrog](/forum/user/36484-blackfrog "View blackfrog's Profile")  Replied by *[blackfrog](/forum/user/36484-blackfrog "View blackfrog's Profile")* on topic *[Trouble adding customer address on backend](/forum/33-customers/889136-trouble-adding-customer-address-on-backend#264289 "-- HikaShop version -- : 3.0.0 -- Joomla version -- : 3.6.5 -- PHP version -- : 5.6.3  Hello, I am setting up dealers on the backend. I create them as a user, and then go to the customer field to put in their address information. The system will not give me the opportunity to put in a state unless I pick a country, but it doesn't give me an area to pick a country (even though they are all US). So I put in what I can, and then log into the front end as the dealer. Going to the profile it then gives me a dropdown to select a state... what am I missing here?  Here is the back end shot.")*

Thank you.
I made the change but am not being given a field box to enter the State value.

[ ![screenshot5.png](/forum/attachment/36847) ](/forum/attachment/36847 "screenshot5.png")

[ ![screenshot6.png](/forum/attachment/36848) ](/forum/attachment/36848 "screenshot6.png")

- [ ![screenshot5.png](/forum/attachment/36847) ](/forum/attachment/36847 "screenshot5.png") [ ](/forum/attachment/36847?download=1 "screenshot5.png")
- [ ![screenshot6.png](/forum/attachment/36848) ](/forum/attachment/36848 "screenshot6.png") [ ](/forum/attachment/36848?download=1 "screenshot6.png")

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

9 years 8 months ago [\#264301](#264301) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Trouble adding customer address on backend](/forum/33-customers/889136-trouble-adding-customer-address-on-backend#264301 "-- HikaShop version -- : 3.0.0 -- Joomla version -- : 3.6.5 -- PHP version -- : 5.6.3  Hello, I am setting up dealers on the backend. I create them as a user, and then go to the customer field to put in their address information. The system will not give me the opportunity to put in a state unless I pick a country, but it doesn't give me an area to pick a country (even though they are all US). So I put in what I can, and then log into the front end as the dealer. Going to the profile it then gives me a dropdown to select a state... what am I missing here?  Here is the back end shot.")*

Hi,

Download again the install package on our website and install it on yours. I've added a more complete patch for the 3.0.1. I've tested it on my end and it works fine with it.
It will also add a lot of other important patches.

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

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