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

#   Hide Custom Field Text In Admin

##

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

Less More

- Posts: 447
- Thank you received: 20
-
-

5 years 4 months ago [\#333939](#333939) by [davec](/forum/user/7092-davec "View davec's Profile")  *[Hide Custom Field Text In Admin](/forum/35-orders-management/902864-hide-custom-field-text-in-admin#333939 "-- HikaShop version -- : 4.4.3 -- Joomla version -- : 3.9.27  Hi  I have created a custom field in the table order to display some text on the front end of the site, additional information. It also shows in the admin on the order page. I have tried to set the display Back-end Form to no but upon saving it reverts back to yes. Is there a way to override this or an alternative to display the message on the front end?  Thanks  David")* was created by *[davec](/forum/user/7092-davec "View davec's Profile")*

-- HikaShop version -- : 4.4.3
-- Joomla version -- : 3.9.27

Hi

I have created a custom field in the table order to display some text on the front end of the site, additional information. It also shows in the admin on the order page. I have tried to set the display Back-end Form to no but upon saving it reverts back to yes. Is there a way to override this or an alternative to display the message on the front end?

Thanks

David

- [ ![screenshot-2021.06.28-13&#95;25&#95;32.png](/forum/attachment/53132) ](/forum/attachment/53132 "...8-13&#95;25&#95;32.png") [ ](/forum/attachment/53132?download=1 "...8-13&#95;25&#95;32.png")

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

5 years 4 months ago [\#333961](#333961) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Hide Custom Field Text In Admin](/forum/35-orders-management/902864-hide-custom-field-text-in-admin#333961 "-- HikaShop version -- : 4.4.3 -- Joomla version -- : 3.9.27  Hi  I have created a custom field in the table order to display some text on the front end of the site, additional information. It also shows in the admin on the order page. I have tried to set the display Back-end Form to no but upon saving it reverts back to yes. Is there a way to override this or an alternative to display the message on the front end?  Thanks  David")*

Hi,

That option is indeed forced to yes for backward compatibility. However, that was made years ago and I don't think it's necessary anymore.
Change the line:
if(in_array($field-&gt;field_table, array('order', 'product'))) {
to:
if(in_array($field-&gt;field_table, array('product'))) {
in the file administrator/components/com_hikashop/classes/field.php and that should then work properly.

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

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

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

Less More

- Posts: 447
- Thank you received: 20
-
-

5 years 4 months ago [\#333963](#333963) by [davec](/forum/user/7092-davec "View davec's Profile")  Replied by *[davec](/forum/user/7092-davec "View davec's Profile")* on topic *[Hide Custom Field Text In Admin](/forum/35-orders-management/902864-hide-custom-field-text-in-admin#333963 "-- HikaShop version -- : 4.4.3 -- Joomla version -- : 3.9.27  Hi  I have created a custom field in the table order to display some text on the front end of the site, additional information. It also shows in the admin on the order page. I have tried to set the display Back-end Form to no but upon saving it reverts back to yes. Is there a way to override this or an alternative to display the message on the front end?  Thanks  David")*

Hi Nicolas

thanks for the code change. I assume this will be addressed in the next update?

Thanks

David

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

5 years 4 months ago [\#333965](#333965) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Hide Custom Field Text In Admin](/forum/35-orders-management/902864-hide-custom-field-text-in-admin#333965 "-- HikaShop version -- : 4.4.3 -- Joomla version -- : 3.9.27  Hi  I have created a custom field in the table order to display some text on the front end of the site, additional information. It also shows in the admin on the order page. I have tried to set the display Back-end Form to no but upon saving it reverts back to yes. Is there a way to override this or an alternative to display the message on the front end?  Thanks  David")*

Yes.

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

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