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

#   Custom field user registration

##

- **[anilban](/forum/user/35604-anilban "View anilban's Profile")**
- [![anilban's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/35604-anilban "View anilban's Profile") Topic Author
- [ Offline](/forum/user/35604-anilban)

Less More

- Posts: 8
- Thank you received: 0
-

11 years 10 months ago [\#185168](#185168) by [anilban](/forum/user/35604-anilban "View anilban's Profile")  *[Custom field user registration](/forum/4-how-to/873999-custom-field-user-registration#185168 "-- HikaShop version -- : 2.3.0 -- Joomla version -- : 3.3.3 -- PHP version -- : 5.4.7 -- Browser(s) name and version -- : chrome -- Error-message(debug-mod must be tuned on) -- : No error  I have hikashop user registration turned on. When user registers the default fields are (Name,username,Email,password and confirm password). I wanted to add only one field mobile number. How can i achive this? I don't want to activate user address, which has a long list of all items. I just want to add one field mobile number. How to do this?")* was created by *[anilban](/forum/user/35604-anilban "View anilban's Profile")*

-- HikaShop version -- : 2.3.0
-- Joomla version -- : 3.3.3
-- PHP version -- : 5.4.7
-- Browser(s) name and version -- : chrome
-- Error-message(debug-mod must be tuned on) -- : No error

I have hikashop user registration turned on. When user registers the default fields are (Name,username,Email,password and confirm password). I wanted to add only one field mobile number. How can i achive this? I don't want to activate user address, which has a long list of all items. I just want to add one field mobile number. How to do this?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg3Mzk5OS1jdXN0b20tZmllbGQtdXNlci1yZWdpc3RyYXRpb24/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: 86583
- Thank you received: 14324
-
-

11 years 10 months ago [\#185171](#185171) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Custom field user registration](/forum/4-how-to/873999-custom-field-user-registration#185171 "-- HikaShop version -- : 2.3.0 -- Joomla version -- : 3.3.3 -- PHP version -- : 5.4.7 -- Browser(s) name and version -- : chrome -- Error-message(debug-mod must be tuned on) -- : No error  I have hikashop user registration turned on. When user registers the default fields are (Name,username,Email,password and confirm password). I wanted to add only one field mobile number. How can i achive this? I don't want to activate user address, which has a long list of all items. I just want to add one field mobile number. How to do this?")*

Turn back on the "ask address on registration" option of the configuration.
Then, go in the menu Display&gt;Custom fields and disable all the address fields except the telephone one and you'll have what you want.

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

- **[anilban](/forum/user/35604-anilban "View anilban's Profile")**
- [![anilban's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/35604-anilban "View anilban's Profile") Topic Author
- [ Offline](/forum/user/35604-anilban)

Less More

- Posts: 8
- Thank you received: 0
-

11 years 10 months ago [\#185320](#185320) by [anilban](/forum/user/35604-anilban "View anilban's Profile")  Replied by *[anilban](/forum/user/35604-anilban "View anilban's Profile")* on topic *[Custom field user registration](/forum/4-how-to/873999-custom-field-user-registration#185320 "-- HikaShop version -- : 2.3.0 -- Joomla version -- : 3.3.3 -- PHP version -- : 5.4.7 -- Browser(s) name and version -- : chrome -- Error-message(debug-mod must be tuned on) -- : No error  I have hikashop user registration turned on. When user registers the default fields are (Name,username,Email,password and confirm password). I wanted to add only one field mobile number. How can i achive this? I don't want to activate user address, which has a long list of all items. I just want to add one field mobile number. How to do this?")*

I did what you have mentioned.
1. Turn back on the "ask address on registration" option of the configuration
2. menu Display&gt;Custom fields and disable all the address fields except the telephone one -http://prntscr.com/5oxiu7
3. However in the result i have complete address -http://prntscr.com/5oxjjd

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg3Mzk5OS1jdXN0b20tZmllbGQtdXNlci1yZWdpc3RyYXRpb24/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: 86583
- Thank you received: 14324
-
-

11 years 10 months ago [\#185346](#185346) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Custom field user registration](/forum/4-how-to/873999-custom-field-user-registration#185346 "-- HikaShop version -- : 2.3.0 -- Joomla version -- : 3.3.3 -- PHP version -- : 5.4.7 -- Browser(s) name and version -- : chrome -- Error-message(debug-mod must be tuned on) -- : No error  I have hikashop user registration turned on. When user registers the default fields are (Name,username,Email,password and confirm password). I wanted to add only one field mobile number. How can i achive this? I don't want to activate user address, which has a long list of all items. I just want to add one field mobile number. How to do this?")*

Hi,

I don't see how that's possible.
Disabled fields should not display, like they don't for anyone else.
Look at the middle name custom field. It is not published and you don't see it. So why would it work for this one and not the others ?
No, you must have something on your website.
Either you're not looking at the same website, or your have some caching preventing you from seeing the changes, or your template has some view overrides preventing you from seeing the changes (try if it helps with another template).

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

- **[anilban](/forum/user/35604-anilban "View anilban's Profile")**
- [![anilban's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/35604-anilban "View anilban's Profile") Topic Author
- [ Offline](/forum/user/35604-anilban)

Less More

- Posts: 8
- Thank you received: 0
-

11 years 10 months ago [\#185404](#185404) by [anilban](/forum/user/35604-anilban "View anilban's Profile")  Replied by *[anilban](/forum/user/35604-anilban "View anilban's Profile")* on topic *[Custom field user registration](/forum/4-how-to/873999-custom-field-user-registration#185404 "-- HikaShop version -- : 2.3.0 -- Joomla version -- : 3.3.3 -- PHP version -- : 5.4.7 -- Browser(s) name and version -- : chrome -- Error-message(debug-mod must be tuned on) -- : No error  I have hikashop user registration turned on. When user registers the default fields are (Name,username,Email,password and confirm password). I wanted to add only one field mobile number. How can i achive this? I don't want to activate user address, which has a long list of all items. I just want to add one field mobile number. How to do this?")*

Thanks it was a cache issue...
[ prntscr.com/5p4lgn](http://prntscr.com/5p4lgn)

It is working fine now. However there are two issues
1. The mandatory field asterisk is too far and is not apparent
2. There is this Address information , is it possible to remove the address information header or change it.

Also i make contact number mandatory now , what happens to the users who are already registered with us? Will the system ask them to fill the details next time they login or they will not be asked.
I would prefer not bothering existing users with their contact number

Regards
Anil

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

11 years 10 months ago [\#185415](#185415) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Custom field user registration](/forum/4-how-to/873999-custom-field-user-registration#185415 "-- HikaShop version -- : 2.3.0 -- Joomla version -- : 3.3.3 -- PHP version -- : 5.4.7 -- Browser(s) name and version -- : chrome -- Error-message(debug-mod must be tuned on) -- : No error  I have hikashop user registration turned on. When user registers the default fields are (Name,username,Email,password and confirm password). I wanted to add only one field mobile number. How can i achive this? I don't want to activate user address, which has a long list of all items. I just want to add one field mobile number. How to do this?")*

Hi,

1. It seems to be a template issue, a link to the page could help us ![;)](/media/kunena/emoticons/24.png ";)")
2. You can do a translation override on the key: "ADDRESS_INFORMATION".
[ www.hikashop.com/support/faq.html#tran](http://www.hikashop.com/support/faq.html#tran)
3. The system will not ask them to fill the details. They will be asked only if they edit their current informations.

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

- **[anilban](/forum/user/35604-anilban "View anilban's Profile")**
- [![anilban's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/35604-anilban "View anilban's Profile") Topic Author
- [ Offline](/forum/user/35604-anilban)

Less More

- Posts: 8
- Thank you received: 0
-

11 years 10 months ago [\#185552](#185552) by [anilban](/forum/user/35604-anilban "View anilban's Profile")  Replied by *[anilban](/forum/user/35604-anilban "View anilban's Profile")* on topic *[Custom field user registration](/forum/4-how-to/873999-custom-field-user-registration#185552 "-- HikaShop version -- : 2.3.0 -- Joomla version -- : 3.3.3 -- PHP version -- : 5.4.7 -- Browser(s) name and version -- : chrome -- Error-message(debug-mod must be tuned on) -- : No error  I have hikashop user registration turned on. When user registers the default fields are (Name,username,Email,password and confirm password). I wanted to add only one field mobile number. How can i achive this? I don't want to activate user address, which has a long list of all items. I just want to add one field mobile number. How to do this?")*

Xavier , thanks for your help. Everything is in place.
Except the *
Below is the link:
[ dev.meraskill.com/component/hikashop/user/form?Itemid=157](http://dev.meraskill.com/component/hikashop/user/form?Itemid=157)

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

11 years 10 months ago [\#185572](#185572) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Custom field user registration](/forum/4-how-to/873999-custom-field-user-registration#185572 "-- HikaShop version -- : 2.3.0 -- Joomla version -- : 3.3.3 -- PHP version -- : 5.4.7 -- Browser(s) name and version -- : chrome -- Error-message(debug-mod must be tuned on) -- : No error  I have hikashop user registration turned on. When user registers the default fields are (Name,username,Email,password and confirm password). I wanted to add only one field mobile number. How can i achive this? I don't want to activate user address, which has a long list of all items. I just want to add one field mobile number. How to do this?")*

Hi,

You have to edit/remove the css property on the class ".hikashop_field_required" in the hikashop frontend css file.
This file can be edited via the menu Configuration &gt; Display &gt; CSS &gt; Frontend css file.

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

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

- **[Lordtech](/forum/user/36982-lordtech "View Lordtech's Profile")**
- [![Lordtech's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/36982-lordtech "View Lordtech's Profile")
- [ Offline](/forum/user/36982-lordtech)

Less More

- Posts: 51
- Thank you received: 1
-
-

10 years 8 months ago [\#232003](#232003) by [Lordtech](/forum/user/36982-lordtech "View Lordtech's Profile")  Replied by *[Lordtech](/forum/user/36982-lordtech "View Lordtech's Profile")* on topic *[Custom field user registration](/forum/4-how-to/873999-custom-field-user-registration#232003 "-- HikaShop version -- : 2.3.0 -- Joomla version -- : 3.3.3 -- PHP version -- : 5.4.7 -- Browser(s) name and version -- : chrome -- Error-message(debug-mod must be tuned on) -- : No error  I have hikashop user registration turned on. When user registers the default fields are (Name,username,Email,password and confirm password). I wanted to add only one field mobile number. How can i achive this? I don't want to activate user address, which has a long list of all items. I just want to add one field mobile number. How to do this?")*

I'm also in need similar feature. I unpublished the address fields which I don't want displayed on the registration page &amp; its no longer displaying. My present challenge with this method is, those fields no longer displays in the user Cpanel when the user is logged on &amp; therefore when a customer orders an item &amp; wants to Checkout, they are not able to fill in their billing &amp; shipping address in the checkout page becasuse the field is turned off.
Pls help me with another method to make this possible.
In summary, what I need is
I need all other address fields excluding the phone no field turned off in the registration page so that I can send a welcome message to my new user via SMS. At the same time, I want the fields to be available in the user CPanel or Checkout page where their address &amp; name will be required.
Expecting your reply. Thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg3Mzk5OS1jdXN0b20tZmllbGQtdXNlci1yZWdpc3RyYXRpb24/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: 86583
- Thank you received: 14324
-
-

10 years 8 months ago [\#232005](#232005) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Custom field user registration](/forum/4-how-to/873999-custom-field-user-registration#232005 "-- HikaShop version -- : 2.3.0 -- Joomla version -- : 3.3.3 -- PHP version -- : 5.4.7 -- Browser(s) name and version -- : chrome -- Error-message(debug-mod must be tuned on) -- : No error  I have hikashop user registration turned on. When user registers the default fields are (Name,username,Email,password and confirm password). I wanted to add only one field mobile number. How can i achive this? I don't want to activate user address, which has a long list of all items. I just want to add one field mobile number. How to do this?")*

Hi,

Instead of unpublishing the custom address fields, you should turn off the setting "Ask address on registration" of the HikaShop configuration.
That way, you would still not get the custom address fields on the registration form, but you would still have them during the checkout for the billing/shipping address.

For the phone, I would recommend to disable the custom address field for it, and instead create a custom user field so that it would be attached to the user and not the address and thus it would still display on the registration form and could be used for the sending of the SMS.

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

- **[Lordtech](/forum/user/36982-lordtech "View Lordtech's Profile")**
- [![Lordtech's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/36982-lordtech "View Lordtech's Profile")
- [ Offline](/forum/user/36982-lordtech)

Less More

- Posts: 51
- Thank you received: 1
-
-

10 years 8 months ago [\#232059](#232059) by [Lordtech](/forum/user/36982-lordtech "View Lordtech's Profile")  Replied by *[Lordtech](/forum/user/36982-lordtech "View Lordtech's Profile")* on topic *[Custom field user registration](/forum/4-how-to/873999-custom-field-user-registration#232059 "-- HikaShop version -- : 2.3.0 -- Joomla version -- : 3.3.3 -- PHP version -- : 5.4.7 -- Browser(s) name and version -- : chrome -- Error-message(debug-mod must be tuned on) -- : No error  I have hikashop user registration turned on. When user registers the default fields are (Name,username,Email,password and confirm password). I wanted to add only one field mobile number. How can i achive this? I don't want to activate user address, which has a long list of all items. I just want to add one field mobile number. How to do this?")*

Yea, thanks for your reply.
That's the setting I've been using for the past 8 months. My only challenge with it is that Acysms only uses phone no in address field for sending user registration Sms.
Incase you know any work around for it, I'd appreciate if you can help me with it.
Also, is there a way I can auto update the address phone_no field with the custom user phone_no field I created via Cron. The last time I tried doing it, I lost some of the phone no's.
Expecting your reply. Thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg3Mzk5OS1jdXN0b20tZmllbGQtdXNlci1yZWdpc3RyYXRpb24/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: 86583
- Thank you received: 14324
-
-

10 years 8 months ago [\#232087](#232087) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Custom field user registration](/forum/4-how-to/873999-custom-field-user-registration#232087 "-- HikaShop version -- : 2.3.0 -- Joomla version -- : 3.3.3 -- PHP version -- : 5.4.7 -- Browser(s) name and version -- : chrome -- Error-message(debug-mod must be tuned on) -- : No error  I have hikashop user registration turned on. When user registers the default fields are (Name,username,Email,password and confirm password). I wanted to add only one field mobile number. How can i achive this? I don't want to activate user address, which has a long list of all items. I just want to add one field mobile number. How to do this?")*

Hi,

One thing you should do is contact the AcySMS team and ask them to support custom user fields.
It shouldn't be difficult for them to support them as they already support custom address fields and it makes sense to do that.
Updating regularily the telephone number in the addresses with the telephone number in the user would be possible with such MySQL query (where you replace #__ with the prefix of the tables and the custom user field with the phone number is called user_telephone ):
UPDATE #__hikashop_address AS a, #__hikashop_user AS u SET a.address_telephone=u.user_telephone WHERE a.address_user_id=u.user_id;

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

- **[Lordtech](/forum/user/36982-lordtech "View Lordtech's Profile")**
- [![Lordtech's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/36982-lordtech "View Lordtech's Profile")
- [ Offline](/forum/user/36982-lordtech)

Less More

- Posts: 51
- Thank you received: 1
-
-

10 years 8 months ago -  10 years 8 months ago [\#234071](#234071) by [Lordtech](/forum/user/36982-lordtech "View Lordtech's Profile")  Replied by *[Lordtech](/forum/user/36982-lordtech "View Lordtech's Profile")* on topic *[Custom field user registration](/forum/4-how-to/873999-custom-field-user-registration#234071 "-- HikaShop version -- : 2.3.0 -- Joomla version -- : 3.3.3 -- PHP version -- : 5.4.7 -- Browser(s) name and version -- : chrome -- Error-message(debug-mod must be tuned on) -- : No error  I have hikashop user registration turned on. When user registers the default fields are (Name,username,Email,password and confirm password). I wanted to add only one field mobile number. How can i achive this? I don't want to activate user address, which has a long list of all items. I just want to add one field mobile number. How to do this?")*

Okay, thanks Nicholas. Pls help me add a conditional statement to the code above
What i mean is, For cases where the Address Field Phone No Column is already filled with a phone number, I'd like this query to skip those columns. It should only update empty Columns.

Also, just to confirm again. Is it a double underscore i will use after filling my table prefix before the hikashop like the one i bracketed here (__)hikashop_address?
Sorry for troubling you but i'm not good at coding but will really love to learn it. Expecting your reply. Thanks

Last edit: 10 years 8 months ago by [Lordtech](/forum/user/36982-lordtech "View Lordtech's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg3Mzk5OS1jdXN0b20tZmllbGQtdXNlci1yZWdpc3RyYXRpb24/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: 86583
- Thank you received: 14324
-
-

10 years 8 months ago [\#234075](#234075) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Custom field user registration](/forum/4-how-to/873999-custom-field-user-registration#234075 "-- HikaShop version -- : 2.3.0 -- Joomla version -- : 3.3.3 -- PHP version -- : 5.4.7 -- Browser(s) name and version -- : chrome -- Error-message(debug-mod must be tuned on) -- : No error  I have hikashop user registration turned on. When user registers the default fields are (Name,username,Email,password and confirm password). I wanted to add only one field mobile number. How can i achive this? I don't want to activate user address, which has a long list of all items. I just want to add one field mobile number. How to do this?")*

Hi,

If you don't want to update it if there is already something in it, just add a condition in your MySQL query, like that:
UPDATE #__hikashop_address AS a, #__hikashop_user AS u SET a.address_telephone=u.user_telephone WHERE a.address_user_id=u.user_id AND a.address_telephone !='';

And no, you just have something like rg7w_hikashop_address if rg7w_ is your Joomla table prefix. So only one underscore normally.

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

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