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

#   Which file is used for product listing?

##

- **[josflachs](/forum/user/42532-josflachs "View josflachs's Profile")**
- [![josflachs's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar42532.jpg)](/forum/user/42532-josflachs "View josflachs's Profile") Topic Author
- [ Offline](/forum/user/42532-josflachs)

Less More

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

8 years 1 month ago [\#298736](#298736) by [josflachs](/forum/user/42532-josflachs "View josflachs's Profile")  *[Which file is used for product listing?](/forum/26-product-category-display/895883-which-file-is-used-for-product-listing#298736 "I'm not a php jockey, but I'll see how far I can get. Which php file creates the layout for product listing?")* was created by *[josflachs](/forum/user/42532-josflachs "View josflachs's Profile")*

I'm not a php jockey, but I'll see how far I can get. Which php file creates the layout for product listing?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84OTU4ODMtd2hpY2gtZmlsZS1pcy11c2VkLWZvci1wcm9kdWN0LWxpc3Rpbmc/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: 86584
- Thank you received: 14325
-
-

8 years 1 month ago [\#298738](#298738) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Which file is used for product listing?](/forum/26-product-category-display/895883-which-file-is-used-for-product-listing#298738 "I'm not a php jockey, but I'll see how far I can get. Which php file creates the layout for product listing?")*

Hi,

There are many involved based on which part of the listing you want to edit and how you configured your menu item.
The best is to activate the "display view files" setting of the HikaShop configuration. That will display the view and file names of each view file being used on their top left corner. Then, you can just edit the corresponding view file via the menu Display&gt;Views.

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

- **[josflachs](/forum/user/42532-josflachs "View josflachs's Profile")**
- [![josflachs's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar42532.jpg)](/forum/user/42532-josflachs "View josflachs's Profile") Topic Author
- [ Offline](/forum/user/42532-josflachs)

Less More

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

8 years 1 month ago -  8 years 1 month ago [\#298743](#298743) by [josflachs](/forum/user/42532-josflachs "View josflachs's Profile")  Replied by *[josflachs](/forum/user/42532-josflachs "View josflachs's Profile")* on topic *[Which file is used for product listing?](/forum/26-product-category-display/895883-which-file-is-used-for-product-listing#298743 "I'm not a php jockey, but I'll see how far I can get. Which php file creates the layout for product listing?")*

As I said, I'm not a php jockey. This is what I want to achieve on the products listing page. I've create that page with a default install.
**Menu &gt; Product listing**.

Once I know which file(s) is involved, I can create an override for it. Most of what I want is fairly simple: change the position of the product title and the price. That's easy enough to do.

What I want to add is an extra field with intro text and an extra button that shows a demo url. (This is for selling software) That means also a modification to the product template. I found that one, but not the Products Listing.

Where or what is it, and if you have any suggestion, I'll ears!

It's probably too difficult for me to makes those modifications. Is there a forum where I can ask a developer?

- [ ![screen&#95;2018-10-08.jpg](/forum/attachment/45005) ](/forum/attachment/45005 "...2018-10-08.jpg") [ ](/forum/attachment/45005?download=1 "...2018-10-08.jpg")

Last edit: 8 years 1 month ago by [josflachs](/forum/user/42532-josflachs "View josflachs's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84OTU4ODMtd2hpY2gtZmlsZS1pcy11c2VkLWZvci1wcm9kdWN0LWxpc3Rpbmc/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: 86584
- Thank you received: 14325
-
-

8 years 1 month ago [\#298746](#298746) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Which file is used for product listing?](/forum/26-product-category-display/895883-which-file-is-used-for-product-listing#298746 "I'm not a php jockey, but I'll see how far I can get. Which php file creates the layout for product listing?")*

Hi,

That shouldn't be too difficult.
You'll want to edit the file "listing_img_title" of the view "product" via the menu Display&gt;Views. There, you can move around the different blocks and add additional PHP code based on what you want to display.
If you want to add an extra field to store the short description of the product, you can create a custom field of the table "product" via the menu Display&gt;Custom fields (Essential or Business edition required).
Then, in your view file override, you can simply add such code:
&lt;?php echo $this-&gt;row-&gt;XXX; ?&gt;
where XXX is the column name of your custom field, and you'll get displayed the text you entered in that custom field in each product.

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

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