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

#   Add file for download on product page

##

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

Less More

- Posts: 22
- Thank you received: 0
-
-

15 years 6 months ago [\#14386](#14386) by [Nikajoloem](/forum/user/1825-nikajoloem "View Nikajoloem's Profile")  *[Add file for download on product page](/forum/4-how-to/14386-add-file-for-download-on-product-page#14386 "Hi,  I'm trying to add a file for download, visible on the product page for all site visitors (so not linked to a purchase). Can this be done through custom fields or in any other way? I can't seem to find the solution...")* was created by *[Nikajoloem](/forum/user/1825-nikajoloem "View Nikajoloem's Profile")*

Hi,

I'm trying to add a file for download, visible on the product page for all site visitors (so not linked to a purchase).
Can this be done through custom fields or in any other way? I can't seem to find the solution...

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE0Mzg2LWFkZC1maWxlLWZvci1kb3dubG9hZC1vbi1wcm9kdWN0LXBhZ2U/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: 86359
- Thank you received: 14295
-
-

15 years 6 months ago [\#14387](#14387) 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 file for download on product page](/forum/4-how-to/14386-add-file-for-download-on-product-page#14387 "Hi,  I'm trying to add a file for download, visible on the product page for all site visitors (so not linked to a purchase). Can this be done through custom fields or in any other way? I can't seem to find the solution...")*

Hi,

You can just upload the file via the joomla media manager and then add a link to it in the description of the product.

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

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

Less More

- Posts: 22
- Thank you received: 0
-
-

15 years 6 months ago [\#14390](#14390) by [Nikajoloem](/forum/user/1825-nikajoloem "View Nikajoloem's Profile")  Replied by *[Nikajoloem](/forum/user/1825-nikajoloem "View Nikajoloem's Profile")* on topic *[Re: Add file for download on product page](/forum/4-how-to/14386-add-file-for-download-on-product-page#14390 "Hi,  I'm trying to add a file for download, visible on the product page for all site visitors (so not linked to a purchase). Can this be done through custom fields or in any other way? I can't seem to find the solution...")*

Isn't there another way?
I'm uploading hundreds of products through csv.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE0Mzg2LWFkZC1maWxlLWZvci1kb3dubG9hZC1vbi1wcm9kdWN0LXBhZ2U/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: 86359
- Thank you received: 14295
-
-

15 years 6 months ago [\#14399](#14399) 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 file for download on product page](/forum/4-how-to/14386-add-file-for-download-on-product-page#14399 "Hi,  I'm trying to add a file for download, visible on the product page for all site visitors (so not linked to a purchase). Can this be done through custom fields or in any other way? I can't seem to find the solution...")*

You can upload all your files via FTP (for example in the media folder) and then in the description of your products, when importing your CSVs, you can specify a link : &lt;a href="[ mysite.com/media/myfile](http://mysite.com/media/myfile)"&gt;myfile&lt;/a&gt;

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE0Mzg2LWFkZC1maWxlLWZvci1kb3dubG9hZC1vbi1wcm9kdWN0LXBhZ2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) 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")
- [ Offline](/forum/user/556-jameswadsworth)

Less More

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

15 years 4 months ago [\#18672](#18672) by [jameswadsworth](/forum/user/556-jameswadsworth "View jameswadsworth's Profile")  Replied by *[jameswadsworth](/forum/user/556-jameswadsworth "View jameswadsworth's Profile")* on topic *[Re: Add file for download on product page](/forum/4-how-to/14386-add-file-for-download-on-product-page#18672 "Hi,  I'm trying to add a file for download, visible on the product page for all site visitors (so not linked to a purchase). Can this be done through custom fields or in any other way? I can't seem to find the solution...")*

I know that the file fields in the product page is used for purchasable downloads. But could it not be adapted so that it can be used for general downloads e.g. manuals, brochures etc etc. rather than putting it in the description. May be put a tick box flag that indicates it is downloadable by anyone and does not require purchasing??

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE0Mzg2LWFkZC1maWxlLWZvci1kb3dubG9hZC1vbi1wcm9kdWN0LXBhZ2U/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: 86359
- Thank you received: 14295
-
-

15 years 4 months ago [\#18673](#18673) 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 file for download on product page](/forum/4-how-to/14386-add-file-for-download-on-product-page#18673 "Hi,  I'm trying to add a file for download, visible on the product page for all site visitors (so not linked to a purchase). Can this be done through custom fields or in any other way? I can't seem to find the solution...")*

It could indeed. When we can find the time to do it... ![:)](/media/kunena/emoticons/3.png ":)")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE0Mzg2LWFkZC1maWxlLWZvci1kb3dubG9hZC1vbi1wcm9kdWN0LXBhZ2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) 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")
- [ Offline](/forum/user/556-jameswadsworth)

Less More

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

15 years 4 months ago [\#18685](#18685) by [jameswadsworth](/forum/user/556-jameswadsworth "View jameswadsworth's Profile")  Replied by *[jameswadsworth](/forum/user/556-jameswadsworth "View jameswadsworth's Profile")* on topic *[Re: Add file for download on product page](/forum/4-how-to/14386-add-file-for-download-on-product-page#18685 "Hi,  I'm trying to add a file for download, visible on the product page for all site visitors (so not linked to a purchase). Can this be done through custom fields or in any other way? I can't seem to find the solution...")*

Okay I'll do it and send you what I have done.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE0Mzg2LWFkZC1maWxlLWZvci1kb3dubG9hZC1vbi1wcm9kdWN0LXBhZ2U/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: 86359
- Thank you received: 14295
-
-

15 years 4 months ago [\#18697](#18697) 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 file for download on product page](/forum/4-how-to/14386-add-file-for-download-on-product-page#18697 "Hi,  I'm trying to add a file for download, visible on the product page for all site visitors (so not linked to a purchase). Can this be done through custom fields or in any other way? I can't seem to find the solution...")*

Cool ! Looking forward to that !

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE0Mzg2LWFkZC1maWxlLWZvci1kb3dubG9hZC1vbi1wcm9kdWN0LXBhZ2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) 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")
- [ Offline](/forum/user/556-jameswadsworth)

Less More

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

15 years 4 months ago -  15 years 4 months ago [\#18770](#18770) by [jameswadsworth](/forum/user/556-jameswadsworth "View jameswadsworth's Profile")  Replied by *[jameswadsworth](/forum/user/556-jameswadsworth "View jameswadsworth's Profile")* on topic *[Re: Add file for download on product page](/forum/4-how-to/14386-add-file-for-download-on-product-page#18770 "Hi,  I'm trying to add a file for download, visible on the product page for all site visitors (so not linked to a purchase). Can this be done through custom fields or in any other way? I can't seem to find the solution...")*

Done. Now you can see a file in the product backend to 'free download' and now it appears on the front end to download. I'll send you through the changes tomorrow. Is there a function already to create a download link in hikashop. If there is can you point me in the right direction so I can tidy up the codee. Is there anything we can use from the front-end order class? Thanks

Last edit: 15 years 4 months ago by [jameswadsworth](/forum/user/556-jameswadsworth "View jameswadsworth's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE0Mzg2LWFkZC1maWxlLWZvci1kb3dubG9hZC1vbi1wcm9kdWN0LXBhZ2U/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: 86359
- Thank you received: 14295
-
-

15 years 4 months ago [\#18789](#18789) 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 file for download on product page](/forum/4-how-to/14386-add-file-for-download-on-product-page#18789 "Hi,  I'm trying to add a file for download, visible on the product page for all site visitors (so not linked to a purchase). Can this be done through custom fields or in any other way? I can't seem to find the solution...")*

The files uploaded in the files area are stored in the the safe folder which is not directly accessible. You need to create a new controller in the product.php controller of the front end:
function download(){
$file_id = JRequest::getInt('file_id');
if(!$file_id){ return false; }
$fileClass = hikashop::get('class.file');
$fileClass-&gt;download($file_id);
return true;
}
(you also need to add that function name in the display array. Then, you can use the url :...ctrl=product&amp;task=download&amp;file_id=XX
but you will have to modify the function download of the file administrator/components/com_hikashop/classes/file.php in order to check if the file requested is attached to a product as a "public" file before authorizing the download for security reasons.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE0Mzg2LWFkZC1maWxlLWZvci1kb3dubG9hZC1vbi1wcm9kdWN0LXBhZ2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) 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")
- [ Offline](/forum/user/556-jameswadsworth)

Less More

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

15 years 4 months ago [\#18896](#18896) by [jameswadsworth](/forum/user/556-jameswadsworth "View jameswadsworth's Profile")  Replied by *[jameswadsworth](/forum/user/556-jameswadsworth "View jameswadsworth's Profile")* on topic *[Re: Add file for download on product page](/forum/4-how-to/14386-add-file-for-download-on-product-page#18896 "Hi,  I'm trying to add a file for download, visible on the product page for all site visitors (so not linked to a purchase). Can this be done through custom fields or in any other way? I can't seem to find the solution...")*

Hi Nicolas, did you get my email today. I send you through the amended files to the usual email address. Thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE0Mzg2LWFkZC1maWxlLWZvci1kb3dubG9hZC1vbi1wcm9kdWN0LXBhZ2U/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: 86359
- Thank you received: 14295
-
-

15 years 4 months ago [\#18897](#18897) 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 file for download on product page](/forum/4-how-to/14386-add-file-for-download-on-product-page#18897 "Hi,  I'm trying to add a file for download, visible on the product page for all site visitors (so not linked to a purchase). Can this be done through custom fields or in any other way? I can't seem to find the solution...")*

I did, thanks for that !

I started looking at it but didn't had much time yet. I'll try to integrate your changes in HikaShop. On a first look, it's seems to be exactly how I was seeing it.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE0Mzg2LWFkZC1maWxlLWZvci1kb3dubG9hZC1vbi1wcm9kdWN0LXBhZ2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) 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")
- [ Offline](/forum/user/556-jameswadsworth)

Less More

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

15 years 4 months ago [\#18898](#18898) by [jameswadsworth](/forum/user/556-jameswadsworth "View jameswadsworth's Profile")  Replied by *[jameswadsworth](/forum/user/556-jameswadsworth "View jameswadsworth's Profile")* on topic *[Re: Add file for download on product page](/forum/4-how-to/14386-add-file-for-download-on-product-page#18898 "Hi,  I'm trying to add a file for download, visible on the product page for all site visitors (so not linked to a purchase). Can this be done through custom fields or in any other way? I can't seem to find the solution...")*

Okay perfect.

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

- **[BRupholdt](/forum/user/2684-brupholdt "View BRupholdt's Profile")**
- [![BRupholdt's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar2684.jpg)](/forum/user/2684-brupholdt "View BRupholdt's Profile")
- [ Offline](/forum/user/2684-brupholdt)

Less More

- Posts: 29
- Thank you received: 2
-
-

15 years 4 months ago [\#20679](#20679) by [BRupholdt](/forum/user/2684-brupholdt "View BRupholdt's Profile")  Replied by *[BRupholdt](/forum/user/2684-brupholdt "View BRupholdt's Profile")* on topic *[Re: Add file for download on product page](/forum/4-how-to/14386-add-file-for-download-on-product-page#20679 "Hi,  I'm trying to add a file for download, visible on the product page for all site visitors (so not linked to a purchase). Can this be done through custom fields or in any other way? I can't seem to find the solution...")*

I've added free files to several of my products but only a couple products show downloads. In some cases, I uploaded the files forgetting to check the free radio button. Then edited the file and switched it to free. It seems like this won't work unless the edit copies the file from the safe folder to the public folder?

Once I realized this, I began making sure to check the free option yet most of my products show no files. Any ideas?

I'd be glad to share login info if wanted.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE0Mzg2LWFkZC1maWxlLWZvci1kb3dubG9hZC1vbi1wcm9kdWN0LXBhZ2U/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: 86359
- Thank you received: 14295
-
-

15 years 4 months ago [\#20697](#20697) 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 file for download on product page](/forum/4-how-to/14386-add-file-for-download-on-product-page#20697 "Hi,  I'm trying to add a file for download, visible on the product page for all site visitors (so not linked to a purchase). Can this be done through custom fields or in any other way? I can't seem to find the solution...")*

The files, whether they are free to download or not, are always in the safe folder.

Could you give an access to your back end so that we can check a product where it doesn't work ?

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

- **[BRupholdt](/forum/user/2684-brupholdt "View BRupholdt's Profile")**
- [![BRupholdt's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar2684.jpg)](/forum/user/2684-brupholdt "View BRupholdt's Profile")
- [ Offline](/forum/user/2684-brupholdt)

Less More

- Posts: 29
- Thank you received: 2
-
-

15 years 4 months ago [\#20732](#20732) by [BRupholdt](/forum/user/2684-brupholdt "View BRupholdt's Profile")  Replied by *[BRupholdt](/forum/user/2684-brupholdt "View BRupholdt's Profile")* on topic *[Re: Add file for download on product page](/forum/4-how-to/14386-add-file-for-download-on-product-page#20732 "Hi,  I'm trying to add a file for download, visible on the product page for all site visitors (so not linked to a purchase). Can this be done through custom fields or in any other way? I can't seem to find the solution...")*

Ahh, I misunderstood the folder use from the configuration. I've looked at the actual file structure and now understand where my confusion came from. About 20 minutes after posting, it was working. Can I assume that caching may have something to do with that? It was very odd to have it suddenly work without making any changes.

Also, where would I look to change the default for files to free? We will never sell files on this site, only use them for manuals.

BTW, thanks for the quick responses. It's so unusual to actually get help without waiting days. It's one of the reasons I went with HikaShop over Tienda.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE0Mzg2LWFkZC1maWxlLWZvci1kb3dubG9hZC1vbi1wcm9kdWN0LXBhZ2U/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: 86359
- Thank you received: 14295
-
-

15 years 4 months ago [\#20749](#20749) 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 file for download on product page](/forum/4-how-to/14386-add-file-for-download-on-product-page#20749 "Hi,  I'm trying to add a file for download, visible on the product page for all site visitors (so not linked to a purchase). Can this be done through custom fields or in any other way? I can't seem to find the solution...")*

It must be a caching issue then. You should deactivate the cache plugin of joomla if you have it activated as it can't work with HikaShop since most of the pages need to be dynamic.

If you want to set it to free by default, you need to edit the file selectfile via the menu Display-&gt;Views and add the line:
&lt;?php if(!isset($this-&gt;element-&gt;file_free_download)) $this-&gt;element-&gt;file_free_download = 1; ?&gt;

before the line:
&lt;?php echo JHTML::_('select.booleanlist', "data[file][file_free_download]" , '',@$this-&gt;element-&gt;file_free_download ); ?&gt;

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

- **[BRupholdt](/forum/user/2684-brupholdt "View BRupholdt's Profile")**
- [![BRupholdt's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar2684.jpg)](/forum/user/2684-brupholdt "View BRupholdt's Profile")
- [ Offline](/forum/user/2684-brupholdt)

Less More

- Posts: 29
- Thank you received: 2
-
-

15 years 4 months ago [\#20888](#20888) by [BRupholdt](/forum/user/2684-brupholdt "View BRupholdt's Profile")  Replied by *[BRupholdt](/forum/user/2684-brupholdt "View BRupholdt's Profile")* on topic *[Re: Add file for download on product page](/forum/4-how-to/14386-add-file-for-download-on-product-page#20888 "Hi,  I'm trying to add a file for download, visible on the product page for all site visitors (so not linked to a purchase). Can this be done through custom fields or in any other way? I can't seem to find the solution...")*

Disabling cache took care of it. Thank you!

Since I don't want to edit the default pages, what do I need to do to make this change in an override page?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzE0Mzg2LWFkZC1maWxlLWZvci1kb3dubG9hZC1vbi1wcm9kdWN0LXBhZ2U/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: 86359
- Thank you received: 14295
-
-

15 years 4 months ago [\#20907](#20907) 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 file for download on product page](/forum/4-how-to/14386-add-file-for-download-on-product-page#20907 "Hi,  I'm trying to add a file for download, visible on the product page for all site visitors (so not linked to a purchase). Can this be done through custom fields or in any other way? I can't seem to find the solution...")*

If you do the change via the menu Display-&gt;Views, it is saved as an override in your template automatically.

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

- **[BRupholdt](/forum/user/2684-brupholdt "View BRupholdt's Profile")**
- [![BRupholdt's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar2684.jpg)](/forum/user/2684-brupholdt "View BRupholdt's Profile")
- [ Offline](/forum/user/2684-brupholdt)

Less More

- Posts: 29
- Thank you received: 2
-
-

15 years 4 months ago [\#20938](#20938) by [BRupholdt](/forum/user/2684-brupholdt "View BRupholdt's Profile")  Replied by *[BRupholdt](/forum/user/2684-brupholdt "View BRupholdt's Profile")* on topic *[Re: Add file for download on product page](/forum/4-how-to/14386-add-file-for-download-on-product-page#20938 "Hi,  I'm trying to add a file for download, visible on the product page for all site visitors (so not linked to a purchase). Can this be done through custom fields or in any other way? I can't seem to find the solution...")*

Very nice. Thank you.

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

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