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

#   how to appearing some custom field front-end?

##

- **[tanjung.technology](/forum/user/279-tanjung-technology "View tanjung.technology's Profile")**
- [![tanjung.technology's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar279.gif)](/forum/user/279-tanjung-technology "View tanjung.technology's Profile") Topic Author
- [ Offline](/forum/user/279-tanjung-technology)

Less More

- Posts: 13
- Thank you received: 0
-
-
-
-

16 years 3 weeks ago [\#1497](#1497) by [tanjung.technology](/forum/user/279-tanjung-technology "View tanjung.technology's Profile")  *[how to appearing some custom field front-end?](/forum/4-how-to/1497-how-to-appearing-some-custom-field-front-end#1497 "Hi There.. I've use hikashop starter and it helps me a lot.. But i have some problem. How can i modify address information in front-end? I want to call a field value from address information in back-end, make it appear in addresses front-end but make it unlisted in address information in front-end. Please help me.. I've been stuck for 3 days and couldn't found the way.. Thanks.")* was created by *[tanjung.technology](/forum/user/279-tanjung-technology "View tanjung.technology's Profile")*

Hi There..
I've use hikashop starter and it helps me a lot.. But i have some problem.
How can i modify address information in front-end? I want to call a field value from address information in back-end, make it appear in addresses front-end but make it unlisted in address information in front-end.
Please help me.. I've been stuck for 3 days and couldn't found the way..
Thanks.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE0OTctaG93LXRvLWFwcGVhcmluZy1zb21lLWN1c3RvbS1maWVsZC1mcm9udC1lbmQ/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: 86593
- Thank you received: 14334
-
-

16 years 3 weeks ago [\#1498](#1498) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: how to appearing some custom field front-end?](/forum/4-how-to/1497-how-to-appearing-some-custom-field-front-end#1498 "Hi There.. I've use hikashop starter and it helps me a lot.. But i have some problem. How can i modify address information in front-end? I want to call a field value from address information in back-end, make it appear in addresses front-end but make it unlisted in address information in front-end. Please help me.. I've been stuck for 3 days and couldn't found the way.. Thanks.")*

Hi,

You can personalize the address form by going to Display-&gt;Custom fields. There you will be able to publish/unpublish fields and create new ones if needed.

Also, if you want to change the address display, you will have to go to Display-&gt;Views and search for address_template. You will be able to change the way the address is displayed on the front end and the back end.

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

- **[tanjung.technology](/forum/user/279-tanjung-technology "View tanjung.technology's Profile")**
- [![tanjung.technology's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar279.gif)](/forum/user/279-tanjung-technology "View tanjung.technology's Profile") Topic Author
- [ Offline](/forum/user/279-tanjung-technology)

Less More

- Posts: 13
- Thank you received: 0
-
-
-
-

16 years 3 weeks ago [\#1500](#1500) by [tanjung.technology](/forum/user/279-tanjung-technology "View tanjung.technology's Profile")  Replied by *[tanjung.technology](/forum/user/279-tanjung-technology "View tanjung.technology's Profile")* on topic *[Re: how to appearing some custom field front-end?](/forum/4-how-to/1497-how-to-appearing-some-custom-field-front-end#1500 "Hi There.. I've use hikashop starter and it helps me a lot.. But i have some problem. How can i modify address information in front-end? I want to call a field value from address information in back-end, make it appear in addresses front-end but make it unlisted in address information in front-end. Please help me.. I've been stuck for 3 days and couldn't found the way.. Thanks.")*

Thanks for your quick reply.
i've been changed published property into unpublished, but it makes the field value didn't appear in both of front-end and back-end. I've been customized front-end address_template and entering {field} value in front-end address_template that unpublished or front-end unchecked in hikashop-&gt;display-&gt;custom value, but it didn't work. The value can't appear in front-end. I need to make it appeared in address front-end but not appeared in address information form front-end. Could you give me the solutions? Thanks before.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE0OTctaG93LXRvLWFwcGVhcmluZy1zb21lLWN1c3RvbS1maWVsZC1mcm9udC1lbmQ/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: 86593
- Thank you received: 14334
-
-

16 years 3 weeks ago [\#1502](#1502) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: how to appearing some custom field front-end?](/forum/4-how-to/1497-how-to-appearing-some-custom-field-front-end#1502 "Hi There.. I've use hikashop starter and it helps me a lot.. But i have some problem. How can i modify address information in front-end? I want to call a field value from address information in back-end, make it appear in addresses front-end but make it unlisted in address information in front-end. Please help me.. I've been stuck for 3 days and couldn't found the way.. Thanks.")*

Ah ok. I see what you mean. you want to disable the edit of a field on the front end form but still have it displayed.

You should edit the file form.php of the view address and change the code Code:

echo $this-&gt;fieldsClass-&gt;display($oneExtraField,$this-&gt;address-&gt;$fieldName,'data[address]['.$fieldName.']');

to the code Code:

if($fieldName=='YOUR_CUSTOM_FIELD_REALNAME'){ echo $this-&gt;address-&gt;$fieldName;}else{echo $this-&gt;fieldsClass-&gt;display($oneExtraField,$this-&gt;address-&gt;$fieldName,'data[address]['.$fieldName.']');}

And replace YOUR_CUSTOM_FIELD_REALNAME by the realname of your field.

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

- **[tanjung.technology](/forum/user/279-tanjung-technology "View tanjung.technology's Profile")**
- [![tanjung.technology's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar279.gif)](/forum/user/279-tanjung-technology "View tanjung.technology's Profile") Topic Author
- [ Offline](/forum/user/279-tanjung-technology)

Less More

- Posts: 13
- Thank you received: 0
-
-
-
-

16 years 3 weeks ago [\#1509](#1509) by [tanjung.technology](/forum/user/279-tanjung-technology "View tanjung.technology's Profile")  Replied by *[tanjung.technology](/forum/user/279-tanjung-technology "View tanjung.technology's Profile")* on topic *[Re: how to appearing some custom field front-end?](/forum/4-how-to/1497-how-to-appearing-some-custom-field-front-end#1509 "Hi There.. I've use hikashop starter and it helps me a lot.. But i have some problem. How can i modify address information in front-end? I want to call a field value from address information in back-end, make it appear in addresses front-end but make it unlisted in address information in front-end. Please help me.. I've been stuck for 3 days and couldn't found the way.. Thanks.")*

Yap. That's what i mean.
I'm sorry, but your code didn't work. I've been checked it many times.
I had made 'paket_berlaku' in my custom field. I've been trying on other field too. But it still displayed in address information

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

- **[tanjung.technology](/forum/user/279-tanjung-technology "View tanjung.technology's Profile")**
- [![tanjung.technology's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar279.gif)](/forum/user/279-tanjung-technology "View tanjung.technology's Profile") Topic Author
- [ Offline](/forum/user/279-tanjung-technology)

Less More

- Posts: 13
- Thank you received: 0
-
-
-
-

16 years 3 weeks ago [\#1512](#1512) by [tanjung.technology](/forum/user/279-tanjung-technology "View tanjung.technology's Profile")  Replied by *[tanjung.technology](/forum/user/279-tanjung-technology "View tanjung.technology's Profile")* on topic *[Re: how to appearing some custom field front-end?](/forum/4-how-to/1497-how-to-appearing-some-custom-field-front-end#1512 "Hi There.. I've use hikashop starter and it helps me a lot.. But i have some problem. How can i modify address information in front-end? I want to call a field value from address information in back-end, make it appear in addresses front-end but make it unlisted in address information in front-end. Please help me.. I've been stuck for 3 days and couldn't found the way.. Thanks.")*

I'm truly sorry. It works. ![:P](/media/kunena/emoticons/14.png ":P")
Thanks for your help Nicholas. ![:cheer:](/media/kunena/emoticons/2.png ":cheer:") ![:cheer:](/media/kunena/emoticons/2.png ":cheer:")

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

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