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

#   Registration data is incorrectly inserted

##

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

Less More

- Posts: 45
- Thank you received: 1
-
-

10 years 7 months ago [\#237351](#237351) by [Displey](/forum/user/29107-displey "View Displey's Profile")  *[Registration data is incorrectly inserted](/forum/33-customers/883973-registration-data-is-incorrectly-inserted#237351 "-- HikaShop version -- : 2.6.0  Hi! I need help with a little problem, which appears when registered Customers add new address data in Personal Profile. In Joomla registration form it is only one field &quot;UserName&quot; but in address form it is &quot;First Name&quot; and &quot;Last Name&quot; fields. Username always inserted in to &quot;Last name&quot;... I don't know how to fix it... I will be happy if somebody knows how to cancel this or insert &quot;UserName&quot; into &quot;First Name&quot;.  Thank You! Olga")* was created by *[Displey](/forum/user/29107-displey "View Displey's Profile")*

-- HikaShop version -- : 2.6.0

Hi!
I need help with a little problem, which appears when registered Customers add new address data in Personal Profile. In Joomla registration form it is only one field "UserName" but in address form it is "First Name" and "Last Name" fields. Username always inserted in to "Last name"... I don't know how to fix it... I will be happy if somebody knows how to cancel this or insert "UserName" into "First Name".

Thank You!
Olga

- [ ![username.jpg](/forum/attachment/30837) ](/forum/attachment/30837 "username.jpg") [ ](/forum/attachment/30837?download=1 "username.jpg")
- [ ![adressaddingform.jpg](/forum/attachment/30838) ](/forum/attachment/30838 "...addingform.jpg") [ ](/forum/attachment/30838?download=1 "...addingform.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMzLWN1c3RvbWVycy84ODM5NzMtcmVnaXN0cmF0aW9uLWRhdGEtaXMtaW5jb3JyZWN0bHktaW5zZXJ0ZWQ/dG1wbD1tYXJrZG93bg==) 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
-
-

10 years 7 months ago [\#237355](#237355) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Registration data is incorrectly inserted](/forum/33-customers/883973-registration-data-is-incorrectly-inserted#237355 "-- HikaShop version -- : 2.6.0  Hi! I need help with a little problem, which appears when registered Customers add new address data in Personal Profile. In Joomla registration form it is only one field &quot;UserName&quot; but in address form it is &quot;First Name&quot; and &quot;Last Name&quot; fields. Username always inserted in to &quot;Last name&quot;... I don't know how to fix it... I will be happy if somebody knows how to cancel this or insert &quot;UserName&quot; into &quot;First Name&quot;.  Thank You! Olga")*

Hi,

That's indeed how it is.
The system actually tries to cut the user name in two but if there is no space, then it puts the name in the last name field.
If you want the opposite, you can change the line:
$address-&gt;address_lastname = $name;
to:
$address-&gt;address_firstname = $name;
in the file components/com_hikashop/views/address/view.html.php

The following user(s) said Thank You: [Displey](/forum/user/29107-displey "View Displey's Profile")

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

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

Less More

- Posts: 45
- Thank you received: 1
-
-

10 years 7 months ago [\#237695](#237695) by [Displey](/forum/user/29107-displey "View Displey's Profile")  Replied by *[Displey](/forum/user/29107-displey "View Displey's Profile")* on topic *[Registration data is incorrectly inserted](/forum/33-customers/883973-registration-data-is-incorrectly-inserted#237695 "-- HikaShop version -- : 2.6.0  Hi! I need help with a little problem, which appears when registered Customers add new address data in Personal Profile. In Joomla registration form it is only one field &quot;UserName&quot; but in address form it is &quot;First Name&quot; and &quot;Last Name&quot; fields. Username always inserted in to &quot;Last name&quot;... I don't know how to fix it... I will be happy if somebody knows how to cancel this or insert &quot;UserName&quot; into &quot;First Name&quot;.  Thank You! Olga")*

Hello, Nicolas!
Thank you so much!

Olga

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

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