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

#   How to add Telephone number on Registration

##

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

Less More

- Posts: 132
- Thank you received: 3
-
-

4 years 3 months ago -  4 years 3 months ago [\#343464](#343464) by [alexmartin](/forum/user/31976-alexmartin "View alexmartin's Profile")  *[How to add Telephone number on Registration](/forum/4-how-to/904772-how-to-add-telephone-number-on-registration#343464 "-- HikaShop version -- : 4.6.0 -- Joomla version -- : 4.1.5 -- PHP version -- : 8.0.21 -- Browser(s) name and version -- : chrome  How do I add a telephone number on the registration form so it will be synchronized with Joomla 4 User profile?  I have used your recommendations such as: &quot;Turn back on the &quot;ask address on registration&quot; 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. &quot;  but i need telephone number displayed in Joomla user. 2) Is there any snippet code i can use from Hikashop to display Telephone number and also user Name and Username on a front end? &#95; because that is my goal.  Alex")* was created by *[alexmartin](/forum/user/31976-alexmartin "View alexmartin's Profile")*

-- HikaShop version -- : 4.6.0
-- Joomla version -- : 4.1.5
-- PHP version -- : 8.0.21
-- Browser(s) name and version -- : chrome

How do I add a telephone number on the registration form so it will be synchronized with Joomla 4 User profile?

I have used your recommendations such as: "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. "

but i need telephone number displayed in Joomla user.
2) Is there any snippet code i can use from Hikashop to display Telephone number and also user Name and Username on a front end? _ because that is my goal.

Alex

Last edit: 4 years 3 months ago by [alexmartin](/forum/user/31976-alexmartin "View alexmartin's Profile").

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

4 years 3 months ago -  4 years 3 months ago [\#343466](#343466) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[How to add Telephone number on Registration](/forum/4-how-to/904772-how-to-add-telephone-number-on-registration#343466 "-- HikaShop version -- : 4.6.0 -- Joomla version -- : 4.1.5 -- PHP version -- : 8.0.21 -- Browser(s) name and version -- : chrome  How do I add a telephone number on the registration form so it will be synchronized with Joomla 4 User profile?  I have used your recommendations such as: &quot;Turn back on the &quot;ask address on registration&quot; 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. &quot;  but i need telephone number displayed in Joomla user. 2) Is there any snippet code i can use from Hikashop to display Telephone number and also user Name and Username on a front end? &#95; because that is my goal.  Alex")*

Hi,

In the HikaShop user synchronization plugin settings, there is a setting you can activate to display the custom fields of the table "user" on the Joomla user profile edit page of the frontend.
So that means you can't use the addres_telephone field for that as that's an address field, not a user field.
But you can disable that field, and instead create a new custom user field for that.

Last edit: 4 years 3 months ago by [nicolas](/forum/user/63-nicolas "View nicolas's Profile").

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

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

Less More

- Posts: 132
- Thank you received: 3
-
-

4 years 3 months ago [\#343521](#343521) by [alexmartin](/forum/user/31976-alexmartin "View alexmartin's Profile")  Replied by *[alexmartin](/forum/user/31976-alexmartin "View alexmartin's Profile")* on topic *[How to add Telephone number on Registration](/forum/4-how-to/904772-how-to-add-telephone-number-on-registration#343521 "-- HikaShop version -- : 4.6.0 -- Joomla version -- : 4.1.5 -- PHP version -- : 8.0.21 -- Browser(s) name and version -- : chrome  How do I add a telephone number on the registration form so it will be synchronized with Joomla 4 User profile?  I have used your recommendations such as: &quot;Turn back on the &quot;ask address on registration&quot; 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. &quot;  but i need telephone number displayed in Joomla user. 2) Is there any snippet code i can use from Hikashop to display Telephone number and also user Name and Username on a front end? &#95; because that is my goal.  Alex")*

Yes, i made custom User filed, and it is displayed on the Hikashop User page. Not a problem. But it does not display on the Joomla User profile.
1) Is it possible to to display the number on the Joomla user profile?
2) Is there any snippet code I can use to display that field on the front end on Joomla pages?
Looking forward
Thank you

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

4 years 3 months ago [\#343523](#343523) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[How to add Telephone number on Registration](/forum/4-how-to/904772-how-to-add-telephone-number-on-registration#343523 "-- HikaShop version -- : 4.6.0 -- Joomla version -- : 4.1.5 -- PHP version -- : 8.0.21 -- Browser(s) name and version -- : chrome  How do I add a telephone number on the registration form so it will be synchronized with Joomla 4 User profile?  I have used your recommendations such as: &quot;Turn back on the &quot;ask address on registration&quot; 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. &quot;  but i need telephone number displayed in Joomla user. 2) Is there any snippet code i can use from Hikashop to display Telephone number and also user Name and Username on a front end? &#95; because that is my goal.  Alex")*

Hi,

As I said, it will display on the user profile edit page if you activate the corresponding setting of the HikaShop user synchronization plugin.
So no code required.

Now, you can display the value of a custom user field quite easily anywhere on your website with such code: Code:

// load hikashop if(!defined('DS')) define('DS', DIRECTORY_SEPARATOR); if(!include_once(rtrim(JPATH_ADMINISTRATOR,DS).DS.'components'.DS.'com_hikashop'.DS.'helpers'.DS.'helper.php')) return; $user = hikashop_loadUser(true); echo $user-&gt;xxx;

Where xxx is the column name of the custom field.

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

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