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

#   Product Files - Description

##

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

Less More

- Posts: 37
- Thank you received: 0
-
-

14 years 9 months ago [\#39032](#39032) by [yellowhousejake](/forum/user/4221-yellowhousejake "View yellowhousejake's Profile")  *[Product Files - Description](/forum/4-how-to/39032-product-files-description#39032 "We have several files for our products (programs, we are selling enrollments into a Parks Department classes) which consist of registration packets. I would like to be able to offer a short...")* was created by *[yellowhousejake](/forum/user/4221-yellowhousejake "View yellowhousejake's Profile")*

We have several files for our products (programs, we are selling enrollments into a Parks Department classes) which consist of registration packets. I would like to be able to offer a short description of each file in the product page.

Looking at the product section, when you add a file, you are allowed to enter a file description, but that description is not displayed anywhere. I was unable to find any configuration I may have missed to enable or disable this feature.

How do I display the description for each product file?

Thanks,

DAve

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzM5MDMyLXByb2R1Y3QtZmlsZXMtZGVzY3JpcHRpb24/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
-
-

14 years 9 months ago [\#39142](#39142) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Product Files - Description](/forum/4-how-to/39032-product-files-description#39142 "We have several files for our products (programs, we are selling enrollments into a Parks Department classes) which consist of registration packets. I would like to be able to offer a short...")*

Hi,

The description is not used anywhere.
There is no option to activate it.

You say that you want to display the descriptions of files on the product page, but unless the files are free, you won't see the files on the product page. Then, you're saying that you're selling the files. So I'm not sure where you want to display the descriptions ?
On the order details page ?
If so, you will have to edit the file "show" of the view "order" via the menu Display-&gt;Views and add some simple custom code.
If you want them on the product page, that will be the file "show_block_product_files" of the view "product".

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

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

Less More

- Posts: 37
- Thank you received: 0
-
-

14 years 9 months ago [\#39316](#39316) by [yellowhousejake](/forum/user/4221-yellowhousejake "View yellowhousejake's Profile")  Replied by *[yellowhousejake](/forum/user/4221-yellowhousejake "View yellowhousejake's Profile")* on topic *[Re: Product Files - Description](/forum/4-how-to/39032-product-files-description#39316 "We have several files for our products (programs, we are selling enrollments into a Parks Department classes) which consist of registration packets. I would like to be able to offer a short...")*

Yes the files are free, they are the PDF registration forms for the classes (products) that are sold on the page. Think of them as supporting files for the classes (products), like a user manual would be for a product such as an MP3 player. When I get Hikashop moved to the production server you will be able to see what I am doing and I think it will make sense then.

The "show_block_product_files" is what I need I think.

Thanks for the help.

DAve

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

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

Less More

- Posts: 37
- Thank you received: 0
-
-

14 years 9 months ago [\#39376](#39376) by [yellowhousejake](/forum/user/4221-yellowhousejake "View yellowhousejake's Profile")  Replied by *[yellowhousejake](/forum/user/4221-yellowhousejake "View yellowhousejake's Profile")* on topic *[Re: Product Files - Description](/forum/4-how-to/39032-product-files-description#39376 "We have several files for our products (programs, we are selling enrollments into a Parks Department classes) which consist of registration packets. I would like to be able to offer a short...")*

Go it. It was easier than I expected. I simply chased what I thought would be the simplest solution and that was the key.

In the file Show of the view Product I changed this line,

$fileHtml = '&lt;a class="hikashop_product_file_link" href="'.hikashop_completeLink('product&amp;task=download&amp;file_id='.$file-&gt;file_id).'"&gt;'.$file-&gt;file_name.'&lt;/a&gt;&lt;br/&gt;';

to

$fileHtml = '&lt;a class="hikashop_product_file_link" href="'.hikashop_completeLink('product&amp;task=download&amp;file_id='.$file-&gt;file_id).'"&gt;'.$file-&gt;file_name.'&lt;/a&gt;'.$file-&gt;file_description;

and I have descriptions now for free files.

DAve

[ ![example.png](/forum/attachment/2737) ](/forum/attachment/2737 "example.png")

- [ ![example.png](/forum/attachment/2737) ](/forum/attachment/2737 "example.png") [ ](/forum/attachment/2737?download=1 "example.png")

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

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