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

#   How to hide one custom field in checkout view?

##

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

Less More

- Posts: 198
- Thank you received: 4
-
-

8 years 4 months ago [\#295925](#295925) by [arnask](/forum/user/6752-arnask "View arnask's Profile")  *[How to hide one custom field in checkout view?](/forum/27-checkout/895361-how-to-hide-one-custom-field-in-checkout-view#295925 "i have some different custom fields in table Order. And one of them i don't need to display in checkout window. I only need to display it in frontend order details page. So how to hide one field in...")* was created by *[arnask](/forum/user/6752-arnask "View arnask's Profile")*

i have some different custom fields in table Order. And one of them i don't need to display in checkout window. I only need to display it in frontend order details page. So how to hide one field in checkout window? I think i need to edit some view file, but what code do i need to type for hiding X custom field?

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

8 years 4 months ago [\#295926](#295926) 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 hide one custom field in checkout view?](/forum/27-checkout/895361-how-to-hide-one-custom-field-in-checkout-view#295926 "i have some different custom fields in table Order. And one of them i don't need to display in checkout window. I only need to display it in frontend order details page. So how to hide one field in...")*

Hi,

Go in the settings of the custom field. There, turn off the "frontend" setting and make sure that the "frontend order details page" setting is activated.
That way, you'll get it in the order details page but not on the checkout.

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

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

Less More

- Posts: 198
- Thank you received: 4
-
-

8 years 4 months ago [\#295952](#295952) by [arnask](/forum/user/6752-arnask "View arnask's Profile")  Replied by *[arnask](/forum/user/6752-arnask "View arnask's Profile")* on topic *[How to hide one custom field in checkout view?](/forum/27-checkout/895361-how-to-hide-one-custom-field-in-checkout-view#295952 "i have some different custom fields in table Order. And one of them i don't need to display in checkout window. I only need to display it in frontend order details page. So how to hide one field in...")*

If frontend is off, then no-matter if "frontend order details page" is on, it still don't display this.
[ ![Screenshot2018-07-27&#95;08-41-53.png](/forum/attachment/44365) ](/forum/attachment/44365 "...7&#95;08-41-53.png")

- [ ![Screenshot2018-07-27&#95;08-41-53.png](/forum/attachment/44365) ](/forum/attachment/44365 "...7&#95;08-41-53.png") [ ](/forum/attachment/44365?download=1 "...7&#95;08-41-53.png")

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

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

8 years 4 months ago [\#295960](#295960) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[How to hide one custom field in checkout view?](/forum/27-checkout/895361-how-to-hide-one-custom-field-in-checkout-view#295960 "i have some different custom fields in table Order. And one of them i don't need to display in checkout window. I only need to display it in frontend order details page. So how to hide one field in...")*

Hello,

The solution will be to directly edit the "Show" file of your "Order" view of your front-end template via "Hikashop-&gt;Display-&gt;Views" and change that line : Code:

if(!@$oneExtraField-&gt;field_frontcomp &#124;&#124; empty($this-&gt;order-&gt;$fieldName))

By : Code:

if(empty($this-&gt;order-&gt;$fieldName))

Thank you for your feedback !

PS: We just added that fix through the last HikaShop version.

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

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

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

Less More

- Posts: 198
- Thank you received: 4
-
-

8 years 4 months ago [\#296031](#296031) by [arnask](/forum/user/6752-arnask "View arnask's Profile")  Replied by *[arnask](/forum/user/6752-arnask "View arnask's Profile")* on topic *[How to hide one custom field in checkout view?](/forum/27-checkout/895361-how-to-hide-one-custom-field-in-checkout-view#296031 "i have some different custom fields in table Order. And one of them i don't need to display in checkout window. I only need to display it in frontend order details page. So how to hide one field in...")*

That works. Thanks.

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

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