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

#   Empty last name field if simplified reg. with pass

##

- **[crealiagroup](/forum/user/30083-crealiagroup "View crealiagroup's Profile")**
- [![crealiagroup's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar30083.png)](/forum/user/30083-crealiagroup "View crealiagroup's Profile") Topic Author
- [ Offline](/forum/user/30083-crealiagroup)

Less More

- Posts: 117
- Thank you received: 3
-
-
- [](http://www.crealia.it)
-

10 years 4 months ago [\#245574](#245574) by [crealiagroup](/forum/user/30083-crealiagroup "View crealiagroup's Profile")  *[Empty last name field if simplified reg. with pass](/forum/27-checkout/885586-empty-last-name-field-if-simplified-reg-with-pass#245574 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.6.0 -- PHP version -- : 5.5  Hi,  I've setted a Simplified registration with email and password only. When user click on the confirmation link he's asked to fill the address form. In the form the Last Name field is already filled with the first part of the user email address.  I would leave that field empty till the user do not fill it. How can I do that?  Thanks in advance.")* was created by *[crealiagroup](/forum/user/30083-crealiagroup "View crealiagroup's Profile")*

-- HikaShop version -- : 2.6.3
-- Joomla version -- : 3.6.0
-- PHP version -- : 5.5

Hi,

I've setted a Simplified registration with email and password only. When user click on the confirmation link he's asked to fill the address form. In the form the Last Name field is already filled with the first part of the user email address.

I would leave that field empty till the user do not fill it. How can I do that?

Thanks in advance.

---

[ www.crealia.it/e-commerce/consulenza-ecommerce-hikashop](http://www.crealia.it/e-commerce/consulenza-ecommerce-hikashop)

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

10 years 4 months ago [\#245594](#245594) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Empty last name field if simplified reg. with pass](/forum/27-checkout/885586-empty-last-name-field-if-simplified-reg-with-pass#245594 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.6.0 -- PHP version -- : 5.5  Hi,  I've setted a Simplified registration with email and password only. When user click on the confirmation link he's asked to fill the address form. In the form the Last Name field is already filled with the first part of the user email address.  I would leave that field empty till the user do not fill it. How can I do that?  Thanks in advance.")*

Hi,

You can try removing the line:
$address-&gt;address_lastname = $name;
from the file components/com_hikashop/views/address/view.html.php

The following user(s) said Thank You: [crealiagroup](/forum/user/30083-crealiagroup "View crealiagroup's Profile")

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

- **[crealiagroup](/forum/user/30083-crealiagroup "View crealiagroup's Profile")**
- [![crealiagroup's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar30083.png)](/forum/user/30083-crealiagroup "View crealiagroup's Profile") Topic Author
- [ Offline](/forum/user/30083-crealiagroup)

Less More

- Posts: 117
- Thank you received: 3
-
-
- [](http://www.crealia.it)
-

10 years 4 months ago [\#246154](#246154) by [crealiagroup](/forum/user/30083-crealiagroup "View crealiagroup's Profile")  Replied by *[crealiagroup](/forum/user/30083-crealiagroup "View crealiagroup's Profile")* on topic *[Empty last name field if simplified reg. with pass](/forum/27-checkout/885586-empty-last-name-field-if-simplified-reg-with-pass#246154 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.6.0 -- PHP version -- : 5.5  Hi,  I've setted a Simplified registration with email and password only. When user click on the confirmation link he's asked to fill the address form. In the form the Last Name field is already filled with the first part of the user email address.  I would leave that field empty till the user do not fill it. How can I do that?  Thanks in advance.")*

Is this an hack or an override? This file seems out of the tmpl folder.

---

[ www.crealia.it/e-commerce/consulenza-ecommerce-hikashop](http://www.crealia.it/e-commerce/consulenza-ecommerce-hikashop)

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

10 years 4 months ago [\#246171](#246171) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Empty last name field if simplified reg. with pass](/forum/27-checkout/885586-empty-last-name-field-if-simplified-reg-with-pass#246171 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.6.0 -- PHP version -- : 5.5  Hi,  I've setted a Simplified registration with email and password only. When user click on the confirmation link he's asked to fill the address form. In the form the Last Name field is already filled with the first part of the user email address.  I would leave that field empty till the user do not fill it. How can I do that?  Thanks in advance.")*

Hi,

It is a hack. Overriding view.html.php files is not impossible but more complex as you need to do it through a system plugin
[ www.informit.com/articles/article.aspx?p=1858258&amp;seqNum=8](http://www.informit.com/articles/article.aspx?p=1858258&seqNum=8)

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

- **[crealiagroup](/forum/user/30083-crealiagroup "View crealiagroup's Profile")**
- [![crealiagroup's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar30083.png)](/forum/user/30083-crealiagroup "View crealiagroup's Profile") Topic Author
- [ Offline](/forum/user/30083-crealiagroup)

Less More

- Posts: 117
- Thank you received: 3
-
-
- [](http://www.crealia.it)
-

10 years 4 months ago [\#246542](#246542) by [crealiagroup](/forum/user/30083-crealiagroup "View crealiagroup's Profile")  Replied by *[crealiagroup](/forum/user/30083-crealiagroup "View crealiagroup's Profile")* on topic *[Empty last name field if simplified reg. with pass](/forum/27-checkout/885586-empty-last-name-field-if-simplified-reg-with-pass#246542 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.6.0 -- PHP version -- : 5.5  Hi,  I've setted a Simplified registration with email and password only. When user click on the confirmation link he's asked to fill the address form. In the form the Last Name field is already filled with the first part of the user email address.  I would leave that field empty till the user do not fill it. How can I do that?  Thanks in advance.")*

Thanks Nicolas for reply. I would suggest to consider this in future releases. It's very annoying to have the last name prefilled in that case. ![:)](/media/kunena/emoticons/3.png ":)")

---

[ www.crealia.it/e-commerce/consulenza-ecommerce-hikashop](http://www.crealia.it/e-commerce/consulenza-ecommerce-hikashop)

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

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