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

#   Custom fields on emails and account page

##

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

Less More

- Posts: 7
- Thank you received: 0
-
-

14 years 2 months ago [\#60388](#60388) by [octurian](/forum/user/8456-octurian "View octurian's Profile")  *[Custom fields on emails and account page](/forum/4-how-to/60388-custom-fields-on-emails-and-account-page#60388 "Hi, I bought the Business edition.  I have added custom fields during registration but require them to be displayed on customers email and when he views his account online.  How do I do this please advise.")* was created by *[octurian](/forum/user/8456-octurian "View octurian's Profile")*

Hi, I bought the Business edition.

I have added custom fields during registration but require them to be displayed on customers email and when he views his account online.

How do I do this please advise.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzYwMzg4LWN1c3RvbS1maWVsZHMtb24tZW1haWxzLWFuZC1hY2NvdW50LXBhZ2U/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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86293
- Thank you received: 14271
-
-

14 years 2 months ago [\#60432](#60432) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Custom fields on emails and account page](/forum/4-how-to/60388-custom-fields-on-emails-and-account-page#60432 "Hi, I bought the Business edition.  I have added custom fields during registration but require them to be displayed on customers email and when he views his account online.  How do I do this please advise.")*

Hi,

If you create custom fields of the table "user" and that the user synchronization plugin is published, your users will be able to see them on their user profile edition page. There is nothing else to do.

For the customer email, you will have to edit the email "user account" via the menu System-&gt;Emails and add such code for each field:

&lt;?php echo 'My field: '.$data-&gt;user_data-&gt;CUSTOM_FIELD_COLUMN; ?&gt;&lt;br/&gt;

where CUSTOM_FIELD_COLUMN is the the column name of your custom field.

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

- **[fhesliere](/forum/user/11096-fhesliere "View fhesliere's Profile")**
- [![fhesliere's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/penguin.jpg)](/forum/user/11096-fhesliere "View fhesliere's Profile")
- [ Offline](/forum/user/11096-fhesliere)

Less More

- Posts: 22
- Thank you received: 0
-
-
- [](http://www.maformation-online.com)
-

12 years 7 months ago -  12 years 7 months ago [\#148117](#148117) by [fhesliere](/forum/user/11096-fhesliere "View fhesliere's Profile")  Replied by *[fhesliere](/forum/user/11096-fhesliere "View fhesliere's Profile")* on topic *[Re: Custom fields on emails and account page](/forum/4-how-to/60388-custom-fields-on-emails-and-account-page#148117 "Hi, I bought the Business edition.  I have added custom fields during registration but require them to be displayed on customers email and when he views his account online.  How do I do this please advise.")*

****Problem solved****
(Don't know how, but it works... now)

Hello Nicolas,

same problem here. The plugin is published, but the fields still don't appear on the user account's view.

Is there another plugin to publish or something special to activate ?

Thx for your answer

Last edit: 12 years 7 months ago by [fhesliere](/forum/user/11096-fhesliere "View fhesliere's Profile").

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

- **[fhesliere](/forum/user/11096-fhesliere "View fhesliere's Profile")**
- [![fhesliere's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/penguin.jpg)](/forum/user/11096-fhesliere "View fhesliere's Profile")
- [ Offline](/forum/user/11096-fhesliere)

Less More

- Posts: 22
- Thank you received: 0
-
-
- [](http://www.maformation-online.com)
-

12 years 7 months ago -  12 years 7 months ago [\#148121](#148121) by [fhesliere](/forum/user/11096-fhesliere "View fhesliere's Profile")  Replied by *[fhesliere](/forum/user/11096-fhesliere "View fhesliere's Profile")* on topic *[Re: Custom fields on emails and account page](/forum/4-how-to/60388-custom-fields-on-emails-and-account-page#148121 "Hi, I bought the Business edition.  I have added custom fields during registration but require them to be displayed on customers email and when he views his account online.  How do I do this please advise.")*

Hi again Nicolas,

is it possible for some fields to be not writable in the account view ?

i.e. : the user register with some extra fields on the login form (for example : a fidelity card number) and cannot change it once it has been validated, and is only "readable" in the account view ?

thx in advanced for your help

Last edit: 12 years 7 months ago by [fhesliere](/forum/user/11096-fhesliere "View fhesliere's Profile").

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

12 years 7 months ago [\#148359](#148359) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Re: Custom fields on emails and account page](/forum/4-how-to/60388-custom-fields-on-emails-and-account-page#148359 "Hi, I bought the Business edition.  I have added custom fields during registration but require them to be displayed on customers email and when he views his account online.  How do I do this please advise.")*

Hi,

The user custom field is always editable.
If the custom field is not displayed in the front-end, it won't be editable by the user.

The solution could be to override the view in order to change the way that the custom field is displayed, not put the classical input (but display the content and let the value in an hidden input field).

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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

[](#top)
