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

#   Custom Field Link removing https on save

##

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

Less More

- Posts: 274
- Thank you received: 5
-
-
-
- [](http://www.deanimaconsulting.com)
-

1 year 3 months ago [\#368021](#368021) by [jameswadsworth](/forum/user/556-jameswadsworth "View jameswadsworth's Profile")  *[Custom Field Link removing https on save](/forum/26-product-category-display/909608-custom-field-link-removing-https-on-save#368021 "-- HikaShop version -- : 6.0.0 -- Joomla version -- : 4.4.10 -- PHP version -- : 8.1  Hi, I've created a custom field link for the products. In the default field URL I've put in a value:  When I save the custom field link, the https part of the field is stripped from the defalut value URL as in screenshot. Then if I go to any product, the field is already filled out with the default values but without https and the field will not display in the frontend until I add https to the url. When saving the product, the https part of the URL is saved correctly. This means going into each product, adding https and saving.  Is this a bug?  Thanks James")* was created by *[jameswadsworth](/forum/user/556-jameswadsworth "View jameswadsworth's Profile")*

-- HikaShop version -- : 6.0.0
-- Joomla version -- : 4.4.10
-- PHP version -- : 8.1

Hi, I've created a custom field link for the products. In the default field URL I've put in a value:

> [ ec.europa.eu/growth/tools-databases/cosing/](https://ec.europa.eu/growth/tools-databases/cosing/)

When I save the custom field link, the https part of the field is stripped from the defalut value URL as in screenshot. Then if I go to any product, the field is already filled out with the default values but without https and the field will not display in the frontend until I add https to the url. When saving the product, the https part of the URL is saved correctly. This means going into each product, adding https and saving.

Is this a bug?

Thanks James

- [ ![ScreenshotFrom2025-07-2915-52-52.png](/forum/attachment/60720) ](/forum/attachment/60720 "...2915-52-52.png") [ ](/forum/attachment/60720?download=1 "...2915-52-52.png")

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS85MDk2MDgtY3VzdG9tLWZpZWxkLWxpbmstcmVtb3ZpbmctaHR0cHMtb24tc2F2ZT90bXBsPW1hcmtkb3du) or [Create an account](/register) 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: 86324
- Thank you received: 14288
-
-

1 year 3 months ago [\#368025](#368025) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Custom Field Link removing https on save](/forum/26-product-category-display/909608-custom-field-link-removing-https-on-save#368025 "-- HikaShop version -- : 6.0.0 -- Joomla version -- : 4.4.10 -- PHP version -- : 8.1  Hi, I've created a custom field link for the products. In the default field URL I've put in a value:  When I save the custom field link, the https part of the field is stripped from the defalut value URL as in screenshot. Then if I go to any product, the field is already filled out with the default values but without https and the field will not display in the frontend until I add https to the url. When saving the product, the https part of the URL is saved correctly. This means going into each product, adding https and saving.  Is this a bug?  Thanks James")*

Hi,

Yes and no. The goal of a link custom field is to provide a text and a URL so that the field can display it as a link.
So, if you only use it to provide a URL, the system doesn't work properly as it is not meant to be used that way.
In that case, you could use a "text" field to provide the URL, and you could the "format" setting to make it into a link if necessary for the frontend display.
Now, following your message, I've worked on this so that the field behave properly when using it only with a URL. I've added the patch for that on our end.
So, if you download the install package of HikaShop on our website and install it on yours, you'll get the patch and it will work properly with your use case.

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS85MDk2MDgtY3VzdG9tLWZpZWxkLWxpbmstcmVtb3ZpbmctaHR0cHMtb24tc2F2ZT90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 274
- Thank you received: 5
-
-
-
- [](http://www.deanimaconsulting.com)
-

1 year 3 months ago [\#368048](#368048) by [jameswadsworth](/forum/user/556-jameswadsworth "View jameswadsworth's Profile")  Replied by *[jameswadsworth](/forum/user/556-jameswadsworth "View jameswadsworth's Profile")* on topic *[Custom Field Link removing https on save](/forum/26-product-category-display/909608-custom-field-link-removing-https-on-save#368048 "-- HikaShop version -- : 6.0.0 -- Joomla version -- : 4.4.10 -- PHP version -- : 8.1  Hi, I've created a custom field link for the products. In the default field URL I've put in a value:  When I save the custom field link, the https part of the field is stripped from the defalut value URL as in screenshot. Then if I go to any product, the field is already filled out with the default values but without https and the field will not display in the frontend until I add https to the url. When saving the product, the https part of the URL is saved correctly. This means going into each product, adding https and saving.  Is this a bug?  Thanks James")*

Hi Nicolas,

I can confirm that the custom field link is working as I expected it.

Thanks, James

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS85MDk2MDgtY3VzdG9tLWZpZWxkLWxpbmstcmVtb3ZpbmctaHR0cHMtb24tc2F2ZT90bXBsPW1hcmtkb3du) or [Create an account](/register) 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.069 seconds

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