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

#   File download link in the list

##

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

Less More

- Posts: 38
- Thank you received: 2
-
-

14 years 9 months ago [\#35187](#35187) by [Sergey Romanov](/forum/user/5439-sergey-romanov "View Sergey Romanov's Profile")  *[File download link in the list](/forum/4-how-to/35187-file-download-link-in-the-list#35187 "I use Hika shop as download section of my site. Half of the files are free to download and half paid. It is complicated for users to go to product details to download file. Is it possible to add file...")* was created by *[Sergey Romanov](/forum/user/5439-sergey-romanov "View Sergey Romanov's Profile")*

I use Hika shop as download section of my site. Half of the files are free to download and half paid. It is complicated for users to go to product details to download file. Is it possible to add file download link in the product list?

this is very important for me.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzM1MTg3LWZpbGUtZG93bmxvYWQtbGluay1pbi10aGUtbGlzdD90bXBsPW1hcmtkb3du) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

14 years 9 months ago [\#35248](#35248) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: File download link in the list](/forum/4-how-to/35187-file-download-link-in-the-list#35248 "I use Hika shop as download section of my site. Half of the files are free to download and half paid. It is complicated for users to go to product details to download file. Is it possible to add file...")*

It's always possible if you can code it.
You will have to edit the file "listing_img_title" (if you use the default item box layout) of the view "product" via the menu Display-&gt;Views and add code to:
1. Load the files of each product from the hikashop_file table.
2. Display the files link based on the entries from that table for each product.

You can look at an example for point 2 near the end of the file "show" of the view "product".

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

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

Less More

- Posts: 38
- Thank you received: 2
-
-

14 years 9 months ago [\#35278](#35278) by [Sergey Romanov](/forum/user/5439-sergey-romanov "View Sergey Romanov's Profile")  Replied by *[Sergey Romanov](/forum/user/5439-sergey-romanov "View Sergey Romanov's Profile")* on topic *[Re: File download link in the list](/forum/4-how-to/35187-file-download-link-in-the-list#35278 "I use Hika shop as download section of my site. Half of the files are free to download and half paid. It is complicated for users to go to product details to download file. Is it possible to add file...")*

> You will have to edit the file "listing\_img\_title"

Why this template. Why i cannot do it in product/listing_div?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzM1MTg3LWZpbGUtZG93bmxvYWQtbGluay1pbi10aGUtbGlzdD90bXBsPW1hcmtkb3du) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

14 years 9 months ago [\#35299](#35299) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: File download link in the list](/forum/4-how-to/35187-file-download-link-in-the-list#35299 "I use Hika shop as download section of my site. Half of the files are free to download and half paid. It is complicated for users to go to product details to download file. Is it possible to add file...")*

You can do it in listing_div if you want.
the listing_img_title is the default item box template used to display each product on a listing. In each of your menus and modules, you can set that template and choose different item box layouts in the hikashop options of the menu/module.

So the listing file display the main information of listings like the title, the description of the current category if activated and then calls the layout file, listing_div or listing_table or listing_list based on what you configured in the options of the menu/module.
In listing_div, the listing of the products itself is displayed. You can see all the divs of the item boxes. And for each product box, it calls the item box layout to display the inside of the box for the current product of the listing being displayed.

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

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

[](#top)
