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

#   Add Link into Custom Field

##

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

Less More

- Posts: 50
- Thank you received: 1
-
-

14 years 3 weeks ago -  14 years 3 weeks ago [\#71026](#71026) by [hawkeyentjc](/forum/user/6372-hawkeyentjc "View hawkeyentjc's Profile")  *[Add Link into Custom Field](/forum/2-general-talk-about-hikashop/71026-add-link-into-custom-field#71026 "Hi,  In my product page, I want to have a custom field which can link to another page. For example:  I have a custom field &quot;Topics&quot; for products. In product details page of Book A, the topic is Business. I would like the user be able to click on the Business topic and link it to another page that talks about Business matters.  In the Custom Field setup, I tried put the following setup for &quot;Topics&quot; custom field. Custom Field Type: Checkbox Title: Business Value: Business  But it would truncate the &quot;a href&quot; code each time I save it in the Custom Field setup page.  Is there any workaround I can &quot;add links&quot; to the values in custom field?  Thanks.")* was created by *[hawkeyentjc](/forum/user/6372-hawkeyentjc "View hawkeyentjc's Profile")*

Hi,

In my product page, I want to have a custom field which can link to another page. For example:

I have a custom field "Topics" for products.
In product details page of Book A, the topic is Business. I would like the user be able to click on the Business topic and link it to another page that talks about Business matters.

In the Custom Field setup, I tried put the following setup for "Topics" custom field.
Custom Field Type: Checkbox
Title: Business
Value: &lt;a href="[ www.mysite.com/Business-Topics](http://www.mysite.com/Business-Topics)"&gt;Business&lt;/a&gt;

But it would truncate the "a href" code each time I save it in the Custom Field setup page.

Is there any workaround I can "add links" to the values in custom field?

Thanks.

Last edit: 14 years 3 weeks ago by [hawkeyentjc](/forum/user/6372-hawkeyentjc "View hawkeyentjc's Profile").

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

14 years 3 weeks ago [\#71339](#71339) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Re: Add Link into Custom Field](/forum/2-general-talk-about-hikashop/71026-add-link-into-custom-field#71339 "Hi,  In my product page, I want to have a custom field which can link to another page. For example:  I have a custom field &quot;Topics&quot; for products. In product details page of Book A, the topic is Business. I would like the user be able to click on the Business topic and link it to another page that talks about Business matters.  In the Custom Field setup, I tried put the following setup for &quot;Topics&quot; custom field. Custom Field Type: Checkbox Title: Business Value: Business  But it would truncate the &quot;a href&quot; code each time I save it in the Custom Field setup page.  Is there any workaround I can &quot;add links&quot; to the values in custom field?  Thanks.")*

Hi,

The html tags are removed to avoid a xss injection.
It could be possible in a future version of HikaShop with a new plugin.

Isn't possible for you to add this link in the product description ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzcxMDI2LWFkZC1saW5rLWludG8tY3VzdG9tLWZpZWxkP3RtcGw9bWFya2Rvd24=) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86560
- Thank you received: 14307
-
-

14 years 3 weeks ago [\#71470](#71470) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Add Link into Custom Field](/forum/2-general-talk-about-hikashop/71026-add-link-into-custom-field#71470 "Hi,  In my product page, I want to have a custom field which can link to another page. For example:  I have a custom field &quot;Topics&quot; for products. In product details page of Book A, the topic is Business. I would like the user be able to click on the Business topic and link it to another page that talks about Business matters.  In the Custom Field setup, I tried put the following setup for &quot;Topics&quot; custom field. Custom Field Type: Checkbox Title: Business Value: Business  But it would truncate the &quot;a href&quot; code each time I save it in the Custom Field setup page.  Is there any workaround I can &quot;add links&quot; to the values in custom field?  Thanks.")*

Hi,

In custom fields, there is the option "Input filtering" that you can turn off to disable the XSS filtering of the field. Then, you will be able to do what you want.

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

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

Less More

- Posts: 120
- Thank you received: 1
-
-
-

13 years 6 months ago [\#99660](#99660) by [watashi](/forum/user/8585-watashi "View watashi's Profile")  Replied by *[watashi](/forum/user/8585-watashi "View watashi's Profile")* on topic *[Re: Add Link into Custom Field](/forum/2-general-talk-about-hikashop/71026-add-link-into-custom-field#99660 "Hi,  In my product page, I want to have a custom field which can link to another page. For example:  I have a custom field &quot;Topics&quot; for products. In product details page of Book A, the topic is Business. I would like the user be able to click on the Business topic and link it to another page that talks about Business matters.  In the Custom Field setup, I tried put the following setup for &quot;Topics&quot; custom field. Custom Field Type: Checkbox Title: Business Value: Business  But it would truncate the &quot;a href&quot; code each time I save it in the Custom Field setup page.  Is there any workaround I can &quot;add links&quot; to the values in custom field?  Thanks.")*

Hi Nicolas,
It is a useful advice, thanks for that.
However, it only removes filtering of Custom Field's **value**. In my case I need to cancel filtering of Custom Field **names**, when I create a custom field in the back end.

I thought this is something to do with Joomla settings rather than Hikashop settings. Then I went to Joomla's Global Configuration -&gt; Text Filters and set my value to "NO FILTERING".
This did not resolve my problem.

Do you think there is an easy way to put a ling tag into a product's custom field name? Actually, my target is to put some reference to a help section, explaining what is the particular custom field, for example:
"Power, h.p., J1349 [a href='#'] (What is this?) [/a]:"

Thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzcxMDI2LWFkZC1saW5rLWludG8tY3VzdG9tLWZpZWxkP3RtcGw9bWFya2Rvd24=) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86560
- Thank you received: 14307
-
-

13 years 6 months ago [\#99668](#99668) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Add Link into Custom Field](/forum/2-general-talk-about-hikashop/71026-add-link-into-custom-field#99668 "Hi,  In my product page, I want to have a custom field which can link to another page. For example:  I have a custom field &quot;Topics&quot; for products. In product details page of Book A, the topic is Business. I would like the user be able to click on the Business topic and link it to another page that talks about Business matters.  In the Custom Field setup, I tried put the following setup for &quot;Topics&quot; custom field. Custom Field Type: Checkbox Title: Business Value: Business  But it would truncate the &quot;a href&quot; code each time I save it in the Custom Field setup page.  Is there any workaround I can &quot;add links&quot; to the values in custom field?  Thanks.")*

You're not using the good approach.

You should enter a translation key in the field name like MY_FIELD for example.

Then in your translation override area, you can add that translation key with all the HTML you want: Code:

MY_FIELD="&lt;a href='http://google.com'&gt;search&lt;/a&gt;"

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

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

Less More

- Posts: 120
- Thank you received: 1
-
-
-

13 years 6 months ago [\#99811](#99811) by [watashi](/forum/user/8585-watashi "View watashi's Profile")  Replied by *[watashi](/forum/user/8585-watashi "View watashi's Profile")* on topic *[Add Link into Custom Field](/forum/2-general-talk-about-hikashop/71026-add-link-into-custom-field#99811 "Hi,  In my product page, I want to have a custom field which can link to another page. For example:  I have a custom field &quot;Topics&quot; for products. In product details page of Book A, the topic is Business. I would like the user be able to click on the Business topic and link it to another page that talks about Business matters.  In the Custom Field setup, I tried put the following setup for &quot;Topics&quot; custom field. Custom Field Type: Checkbox Title: Business Value: Business  But it would truncate the &quot;a href&quot; code each time I save it in the Custom Field setup page.  Is there any workaround I can &quot;add links&quot; to the values in custom field?  Thanks.")*

Hikashop is so flexible and your support is so perfect!

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

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