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

#   Add short descriptions under products in listings

##

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

Less More

- Posts: 36
- Thank you received: 0
-
-

15 years 11 months ago -  15 years 11 months ago [\#1331](#1331) by [Redeemer](/forum/user/240-redeemer "View Redeemer's Profile")  *[Add short descriptions under products in listings](/forum/4-how-to/1331-add-short-descriptions-under-products-in-listings#1331 "Hello again,  Our website is nearly complete. However, I would like to know if or how I can add short descriptions under my products when I am viewing a product listing. It would also be great if I could add a Read more... button at the end of the short descriptions.  The reason we would like to do this is because we are worried that our customers may not immediately realize that clicking on a product will simply show it in more detail, rather than actually purchasing it.  Thanks for your time, -Redeemer  EDIT: A small 'Details' button would do the trick too, if that's possible.")* was created by *[Redeemer](/forum/user/240-redeemer "View Redeemer's Profile")*

Hello again,

Our website is nearly complete. However, I would like to know if or how I can add short descriptions under my products when I am viewing a product listing. It would also be great if I could add a *Read more...* button at the end of the short descriptions.

The reason we would like to do this is because we are worried that our customers may not immediately realize that clicking on a product will simply show it in more detail, rather than actually purchasing it.

Thanks for your time,
-Redeemer

EDIT: A small 'Details' button would do the trick too, if that's possible.

Last edit: 15 years 11 months ago by [Redeemer](/forum/user/240-redeemer "View Redeemer's Profile").

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

15 years 11 months ago [\#1334](#1334) 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 short descriptions under products in listings](/forum/4-how-to/1331-add-short-descriptions-under-products-in-listings#1334 "Hello again,  Our website is nearly complete. However, I would like to know if or how I can add short descriptions under my products when I am viewing a product listing. It would also be great if I could add a Read more... button at the end of the short descriptions.  The reason we would like to do this is because we are worried that our customers may not immediately realize that clicking on a product will simply show it in more detail, rather than actually purchasing it.  Thanks for your time, -Redeemer  EDIT: A small 'Details' button would do the trick too, if that's possible.")*

Hi,

You can go in Display-&gt;Views and search for "listing_img". There you will have several files that you can customize. It depends on the option "item layout" of your menu/module. Suppose that you use the default one, "image and title", you will have to edit the listing_img_title.php file.
There, you will be able to modify the HTML the way you want. If you just want to display a button below the name of the product you can add the code Code:

echo '&lt;br /&gt;&lt;input type="submit" class="button" name="Details" value="Details" onClick="window.location=\''.$link.'\'"/&gt;';

just after the code Code:

echo $this-&gt;row-&gt;product_name;

near line 20.

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

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

Less More

- Posts: 36
- Thank you received: 0
-
-

15 years 11 months ago [\#1337](#1337) by [Redeemer](/forum/user/240-redeemer "View Redeemer's Profile")  Replied by *[Redeemer](/forum/user/240-redeemer "View Redeemer's Profile")* on topic *[Re: Add short descriptions under products in listings](/forum/4-how-to/1331-add-short-descriptions-under-products-in-listings#1337 "Hello again,  Our website is nearly complete. However, I would like to know if or how I can add short descriptions under my products when I am viewing a product listing. It would also be great if I could add a Read more... button at the end of the short descriptions.  The reason we would like to do this is because we are worried that our customers may not immediately realize that clicking on a product will simply show it in more detail, rather than actually purchasing it.  Thanks for your time, -Redeemer  EDIT: A small 'Details' button would do the trick too, if that's possible.")*

Well, I did what you suggested and indeed the results are good... But I would also like it if the Details button appeared in product modules, too. For some reason this isn't happening, although I added the code to the products-&gt;listing_img_title.php script.

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

15 years 11 months ago [\#1339](#1339) 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 short descriptions under products in listings](/forum/4-how-to/1331-add-short-descriptions-under-products-in-listings#1339 "Hello again,  Our website is nearly complete. However, I would like to know if or how I can add short descriptions under my products when I am viewing a product listing. It would also be great if I could add a Read more... button at the end of the short descriptions.  The reason we would like to do this is because we are worried that our customers may not immediately realize that clicking on a product will simply show it in more detail, rather than actually purchasing it.  Thanks for your time, -Redeemer  EDIT: A small 'Details' button would do the trick too, if that's possible.")*

Like I said, maybe you use another item layout than listing_img_title ? In which case, you will have to edit the corresponding view file. Maybe listing_title ? If you do a screenshot of the options of your module, I would be able to tell you which one to modify.

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

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

Less More

- Posts: 36
- Thank you received: 0
-
-

15 years 11 months ago -  15 years 11 months ago [\#1340](#1340) by [Redeemer](/forum/user/240-redeemer "View Redeemer's Profile")  Replied by *[Redeemer](/forum/user/240-redeemer "View Redeemer's Profile")* on topic *[Re: Add short descriptions under products in listings](/forum/4-how-to/1331-add-short-descriptions-under-products-in-listings#1340 "Hello again,  Our website is nearly complete. However, I would like to know if or how I can add short descriptions under my products when I am viewing a product listing. It would also be great if I could add a Read more... button at the end of the short descriptions.  The reason we would like to do this is because we are worried that our customers may not immediately realize that clicking on a product will simply show it in more detail, rather than actually purchasing it.  Thanks for your time, -Redeemer  EDIT: A small 'Details' button would do the trick too, if that's possible.")*

I've attached an image file that shows the Hikashop module properties for a "Latest Products" module I have:  [ ![&#91;img](http://www.hikashop.com/media/kunena/attachments/legacy/images/hikashopmodule-20101110.png) ](http://www.hikashop.com/media/kunena/attachments/legacy/images/hikashopmodule-20101110.png "&#91;img")

- [ ![hikashopmodule.png](/forum/attachment/77) ](/forum/attachment/77 "...shopmodule.png") [ ](/forum/attachment/77?download=1 "...shopmodule.png")
- [ ![hikashopmodule-20101110.png](/forum/attachment/78) ](/forum/attachment/78 "...e-20101110.png") [ ](/forum/attachment/78?download=1 "...e-20101110.png")

Last edit: 15 years 11 months ago by [Redeemer](/forum/user/240-redeemer "View Redeemer's Profile").

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

15 years 11 months ago [\#1344](#1344) 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 short descriptions under products in listings](/forum/4-how-to/1331-add-short-descriptions-under-products-in-listings#1344 "Hello again,  Our website is nearly complete. However, I would like to know if or how I can add short descriptions under my products when I am viewing a product listing. It would also be great if I could add a Read more... button at the end of the short descriptions.  The reason we would like to do this is because we are worried that our customers may not immediately realize that clicking on a product will simply show it in more detail, rather than actually purchasing it.  Thanks for your time, -Redeemer  EDIT: A small 'Details' button would do the trick too, if that's possible.")*

Your options are good. There is no reason for the button not to be displayed.
Could you give a link of the problem ?

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

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

Less More

- Posts: 36
- Thank you received: 0
-
-

15 years 11 months ago [\#1359](#1359) by [Redeemer](/forum/user/240-redeemer "View Redeemer's Profile")  Replied by *[Redeemer](/forum/user/240-redeemer "View Redeemer's Profile")* on topic *[Re: Add short descriptions under products in listings](/forum/4-how-to/1331-add-short-descriptions-under-products-in-listings#1359 "Hello again,  Our website is nearly complete. However, I would like to know if or how I can add short descriptions under my products when I am viewing a product listing. It would also be great if I could add a Read more... button at the end of the short descriptions.  The reason we would like to do this is because we are worried that our customers may not immediately realize that clicking on a product will simply show it in more detail, rather than actually purchasing it.  Thanks for your time, -Redeemer  EDIT: A small 'Details' button would do the trick too, if that's possible.")*

Sorry, I'm building my website offline. It's being hosted in a VM that's hidden in our intranet.

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

15 years 11 months ago [\#1362](#1362) 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 short descriptions under products in listings](/forum/4-how-to/1331-add-short-descriptions-under-products-in-listings#1362 "Hello again,  Our website is nearly complete. However, I would like to know if or how I can add short descriptions under my products when I am viewing a product listing. It would also be great if I could add a Read more... button at the end of the short descriptions.  The reason we would like to do this is because we are worried that our customers may not immediately realize that clicking on a product will simply show it in more detail, rather than actually purchasing it.  Thanks for your time, -Redeemer  EDIT: A small 'Details' button would do the trick too, if that's possible.")*

Then try to make the modification into all the listing_img files the listing_title file. That's got to be one of them.

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

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

Less More

- Posts: 36
- Thank you received: 0
-
-

15 years 11 months ago [\#1363](#1363) by [Redeemer](/forum/user/240-redeemer "View Redeemer's Profile")  Replied by *[Redeemer](/forum/user/240-redeemer "View Redeemer's Profile")* on topic *[Re: Add short descriptions under products in listings](/forum/4-how-to/1331-add-short-descriptions-under-products-in-listings#1363 "Hello again,  Our website is nearly complete. However, I would like to know if or how I can add short descriptions under my products when I am viewing a product listing. It would also be great if I could add a Read more... button at the end of the short descriptions.  The reason we would like to do this is because we are worried that our customers may not immediately realize that clicking on a product will simply show it in more detail, rather than actually purchasing it.  Thanks for your time, -Redeemer  EDIT: A small 'Details' button would do the trick too, if that's possible.")*

I've tried adding the button to several of the views, but none of these additions seemed to have solved the problem. :huh:

This is very strange...

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

15 years 11 months ago [\#1364](#1364) 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 short descriptions under products in listings](/forum/4-how-to/1331-add-short-descriptions-under-products-in-listings#1364 "Hello again,  Our website is nearly complete. However, I would like to know if or how I can add short descriptions under my products when I am viewing a product listing. It would also be great if I could add a Read more... button at the end of the short descriptions.  The reason we would like to do this is because we are worried that our customers may not immediately realize that clicking on a product will simply show it in more detail, rather than actually purchasing it.  Thanks for your time, -Redeemer  EDIT: A small 'Details' button would do the trick too, if that's possible.")*

Maybe you could make a screenshot of the whole page where you have the problem ?

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

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

Less More

- Posts: 36
- Thank you received: 0
-
-

15 years 11 months ago [\#1368](#1368) by [Redeemer](/forum/user/240-redeemer "View Redeemer's Profile")  Replied by *[Redeemer](/forum/user/240-redeemer "View Redeemer's Profile")* on topic *[Re: Add short descriptions under products in listings](/forum/4-how-to/1331-add-short-descriptions-under-products-in-listings#1368 "Hello again,  Our website is nearly complete. However, I would like to know if or how I can add short descriptions under my products when I am viewing a product listing. It would also be great if I could add a Read more... button at the end of the short descriptions.  The reason we would like to do this is because we are worried that our customers may not immediately realize that clicking on a product will simply show it in more detail, rather than actually purchasing it.  Thanks for your time, -Redeemer  EDIT: A small 'Details' button would do the trick too, if that's possible.")*

The problem occurs on any module regardless of view type except for my 'Product Listing' page.

Here's a screenshot of the listing page with the desired results...  [ ![&#91;img](http://www.hikashop.com/media/kunena/attachments/legacy/images/detailsworking.png) ](http://www.hikashop.com/media/kunena/attachments/legacy/images/detailsworking.png "&#91;img")

- [ ![detailsworking.png](/forum/attachment/87) ](/forum/attachment/87 "...ilsworking.png") [ ](/forum/attachment/87?download=1 "...ilsworking.png")

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

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

Less More

- Posts: 36
- Thank you received: 0
-
-

15 years 11 months ago -  15 years 11 months ago [\#1370](#1370) by [Redeemer](/forum/user/240-redeemer "View Redeemer's Profile")  Replied by *[Redeemer](/forum/user/240-redeemer "View Redeemer's Profile")* on topic *[Re: Add short descriptions under products in listings](/forum/4-how-to/1331-add-short-descriptions-under-products-in-listings#1370 "Hello again,  Our website is nearly complete. However, I would like to know if or how I can add short descriptions under my products when I am viewing a product listing. It would also be great if I could add a Read more... button at the end of the short descriptions.  The reason we would like to do this is because we are worried that our customers may not immediately realize that clicking on a product will simply show it in more detail, rather than actually purchasing it.  Thanks for your time, -Redeemer  EDIT: A small 'Details' button would do the trick too, if that's possible.")*

And here's a screenshot of the frontpage, where you can clearly see that the 'Latest Products' module is missing 'Details' buttons.
[ ![&#91;img](http://www.hikashop.com/media/kunena/attachments/legacy/images/detailsnotworking.png) ](http://www.hikashop.com/media/kunena/attachments/legacy/images/detailsnotworking.png "&#91;img")

The same problem shown above also occurs when I look at a list of products under a specific product category.

- [ ![detailsnotworking.png](/forum/attachment/88) ](/forum/attachment/88 "...notworking.png") [ ](/forum/attachment/88?download=1 "...notworking.png")

Last edit: 15 years 11 months ago by [Redeemer](/forum/user/240-redeemer "View Redeemer's Profile").

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

15 years 11 months ago [\#1386](#1386) 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 short descriptions under products in listings](/forum/4-how-to/1331-add-short-descriptions-under-products-in-listings#1386 "Hello again,  Our website is nearly complete. However, I would like to know if or how I can add short descriptions under my products when I am viewing a product listing. It would also be great if I could add a Read more... button at the end of the short descriptions.  The reason we would like to do this is because we are worried that our customers may not immediately realize that clicking on a product will simply show it in more detail, rather than actually purchasing it.  Thanks for your time, -Redeemer  EDIT: A small 'Details' button would do the trick too, if that's possible.")*

I'm out of ideas. The lsiting of products on both screenshots uses the same file listing_img_title.php
So, if you changed the code as I said, you should get the same result.

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

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

Less More

- Posts: 36
- Thank you received: 0
-
-

15 years 11 months ago -  15 years 11 months ago [\#1387](#1387) by [Redeemer](/forum/user/240-redeemer "View Redeemer's Profile")  Replied by *[Redeemer](/forum/user/240-redeemer "View Redeemer's Profile")* on topic *[Re: Add short descriptions under products in listings](/forum/4-how-to/1331-add-short-descriptions-under-products-in-listings#1387 "Hello again,  Our website is nearly complete. However, I would like to know if or how I can add short descriptions under my products when I am viewing a product listing. It would also be great if I could add a Read more... button at the end of the short descriptions.  The reason we would like to do this is because we are worried that our customers may not immediately realize that clicking on a product will simply show it in more detail, rather than actually purchasing it.  Thanks for your time, -Redeemer  EDIT: A small 'Details' button would do the trick too, if that's possible.")*

Ok, here's my entire listing_img_title.php file...
Code:

&lt;?php /** * @package HikaShop for Joomla! 1.5 * @version 1.3.2 * @author hikashop.com * @copyright (C) 2010 HIKARI SOFTWARE. All rights reserved. * @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html */ defined('_JEXEC') or die('Restricted access'); ?&gt; &lt;?php $link = hikashop::completeLink('product&amp;task=show&amp;cid='.$this-&gt;row-&gt;product_id.'&amp;name='.$this-&gt;row-&gt;alias.$this-&gt;itemid.$this-&gt;category_pathway);?&gt; &lt;div style="height:&lt;?php echo $this-&gt;image-&gt;main_thumbnail_y;?&gt;px;text-align:center;clear:both;" class="hikashop_product_image"&gt; &lt;?php if($this-&gt;params-&gt;get('link_to_product_page',1)){ ?&gt; &lt;a href="&lt;?php echo $link;?&gt;"&gt; &lt;?php } echo $this-&gt;image-&gt;display(@$this-&gt;row-&gt;file_path,false,$this-&gt;escape($this-&gt;row-&gt;product_name)); if($this-&gt;params-&gt;get('link_to_product_page',1)){ ?&gt; &lt;/a&gt; &lt;?php } ?&gt; &lt;/div&gt; &lt;?php if($this-&gt;params-&gt;get('show_price')){ ?&gt;&lt;br/&gt;&lt;?php $this-&gt;setLayout('listing_price'); echo $this-&gt;loadTemplate(); } ?&gt;&lt;br/&gt; &lt;span class="hikashop_product_name"&gt; &lt;?php if($this-&gt;params-&gt;get('link_to_product_page',1)){ ?&gt; &lt;a href="&lt;?php echo $link;?&gt;"&gt; &lt;?php } echo $this-&gt;row-&gt;product_name; echo '&lt;br /&gt;&lt;input type="submit" class="button" name="Details" value="Details" onClick="window.location=\''.$link.'\'"/&gt;'; if($this-&gt;params-&gt;get('link_to_product_page',1)){ ?&gt; &lt;/a&gt; &lt;?php } ?&gt; &lt;/span&gt; &lt;?php if($this-&gt;params-&gt;get('add_to_cart')){ ?&gt;&lt;br/&gt; &lt;form action="&lt;?php echo hikashop::completeLink('product&amp;task=updatecart'); ?&gt;" method="post" name="hikashop_product_form_&lt;?php echo $this-&gt;row-&gt;product_id.'_'.$this-&gt;params-&gt;get('main_div_name'); ?&gt;"&gt;&lt;?php $this-&gt;setLayout('quantity'); echo $this-&gt;loadTemplate(); ?&gt; &lt;input type="hidden" name="product_id" value="&lt;?php echo $this-&gt;row-&gt;product_id; ?&gt;" /&gt; &lt;input type="hidden" name="add" value="1"/&gt; &lt;input type="hidden" name="ctrl" value="product"/&gt; &lt;input type="hidden" name="task" value="updatecart"/&gt; &lt;/form&gt;&lt;?php }?&gt;&lt;?php /** * @package HikaShop for Joomla! 1.5 * @version 1.3.2 * @author hikashop.com * @copyright (C) 2010 HIKARI SOFTWARE. All rights reserved. * @license GNU/GPLv3 www.gnu.org/licenses/gpl-3.0.html */ defined('_JEXEC') or die('Restricted access'); ?&gt; &lt;?php $link = hikashop::completeLink('product&amp;task=show&amp;cid='.$this-&gt;row-&gt;product_id.'&amp;name='.$this-&gt;row-&gt;alias.$this-&gt;itemid.$this-&gt;category_pathway);?&gt; &lt;div style="height:&lt;?php echo $this-&gt;image-&gt;main_thumbnail_y;?&gt;px;text-align:center;clear:both;" class="hikashop_product_image"&gt; &lt;?php if($this-&gt;params-&gt;get('link_to_product_page',1)){ ?&gt; &lt;a href="&lt;?php echo $link;?&gt;"&gt; &lt;?php } echo $this-&gt;image-&gt;display(@$this-&gt;row-&gt;file_path,false,$this-&gt;escape($this-&gt;row-&gt;product_name)); if($this-&gt;params-&gt;get('link_to_product_page',1)){ ?&gt; &lt;/a&gt; &lt;?php } ?&gt; &lt;/div&gt; &lt;?php if($this-&gt;params-&gt;get('show_price')){ ?&gt;&lt;br/&gt;&lt;?php $this-&gt;setLayout('listing_price'); echo $this-&gt;loadTemplate(); } ?&gt;&lt;br/&gt; &lt;span class="hikashop_product_name"&gt; &lt;?php if($this-&gt;params-&gt;get('link_to_product_page',1)){ ?&gt; &lt;a href="&lt;?php echo $link;?&gt;"&gt; &lt;?php } echo $this-&gt;row-&gt;product_name; echo '&lt;br /&gt;&lt;input type="submit" class="button" name="Details" value="Details" onClick="window.location=\''.$link.'\'"/&gt;'; if($this-&gt;params-&gt;get('link_to_product_page',1)){ ?&gt; &lt;/a&gt; &lt;?php } ?&gt; &lt;/span&gt; &lt;?php if($this-&gt;params-&gt;get('add_to_cart')){ ?&gt;&lt;br/&gt; &lt;form action="&lt;?php echo hikashop::completeLink('product&amp;task=updatecart'); ?&gt;" method="post" name="hikashop_product_form_&lt;?php echo $this-&gt;row-&gt;product_id.'_'.$this-&gt;params-&gt;get('main_div_name'); ?&gt;"&gt;&lt;?php $this-&gt;setLayout('quantity'); echo $this-&gt;loadTemplate(); ?&gt; &lt;input type="hidden" name="product_id" value="&lt;?php echo $this-&gt;row-&gt;product_id; ?&gt;" /&gt; &lt;input type="hidden" name="add" value="1"/&gt; &lt;input type="hidden" name="ctrl" value="product"/&gt; &lt;input type="hidden" name="task" value="updatecart"/&gt; &lt;/form&gt;&lt;?php }?&gt;

I put the code snippet you made on line 34.

Perhaps this will be helpful to you.

Last edit: 15 years 11 months ago by [Redeemer](/forum/user/240-redeemer "View Redeemer's Profile").

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

15 years 11 months ago [\#1388](#1388) 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 short descriptions under products in listings](/forum/4-how-to/1331-add-short-descriptions-under-products-in-listings#1388 "Hello again,  Our website is nearly complete. However, I would like to know if or how I can add short descriptions under my products when I am viewing a product listing. It would also be great if I could add a Read more... button at the end of the short descriptions.  The reason we would like to do this is because we are worried that our customers may not immediately realize that clicking on a product will simply show it in more detail, rather than actually purchasing it.  Thanks for your time, -Redeemer  EDIT: A small 'Details' button would do the trick too, if that's possible.")*

That code is fine.

I was expecting that, otherwise, it wouldn't display the details button anywhere.

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

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

Less More

- Posts: 36
- Thank you received: 0
-
-

15 years 11 months ago -  15 years 11 months ago [\#1396](#1396) by [Redeemer](/forum/user/240-redeemer "View Redeemer's Profile")  Replied by *[Redeemer](/forum/user/240-redeemer "View Redeemer's Profile")* on topic *[Re: Add short descriptions under products in listings](/forum/4-how-to/1331-add-short-descriptions-under-products-in-listings#1396 "Hello again,  Our website is nearly complete. However, I would like to know if or how I can add short descriptions under my products when I am viewing a product listing. It would also be great if I could add a Read more... button at the end of the short descriptions.  The reason we would like to do this is because we are worried that our customers may not immediately realize that clicking on a product will simply show it in more detail, rather than actually purchasing it.  Thanks for your time, -Redeemer  EDIT: A small 'Details' button would do the trick too, if that's possible.")*

Well, I need this to be done, and I don't have much skill when it comes to PHP, so...

Does *anyone* have any ideas?

EDIT: I noticed earlier today that I can put &lt;Read More&gt; tags in product descriptions, but they don't seem to do anything.

Perhaps it would be a good idea to make these tags functional, so that you can set a product to appear with part of it's description in a list... And when you press the 'Read more' button, it takes you to the product page.

Last edit: 15 years 11 months ago by [Redeemer](/forum/user/240-redeemer "View Redeemer's Profile").

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

15 years 11 months ago [\#1397](#1397) 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 short descriptions under products in listings](/forum/4-how-to/1331-add-short-descriptions-under-products-in-listings#1397 "Hello again,  Our website is nearly complete. However, I would like to know if or how I can add short descriptions under my products when I am viewing a product listing. It would also be great if I could add a Read more... button at the end of the short descriptions.  The reason we would like to do this is because we are worried that our customers may not immediately realize that clicking on a product will simply show it in more detail, rather than actually purchasing it.  Thanks for your time, -Redeemer  EDIT: A small 'Details' button would do the trick too, if that's possible.")*

I was thinking again about that problem...
Maybe it could come from a caching issue ? If you cache the modules content on your website that's something which could happen since the HTML was already generated, you would not see your modification on the modules. You could easily check that by changing the color of the module background in the options of the module. If it doesn't change when displaying the module, then it's likely that it's a caching problem.

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

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

Less More

- Posts: 36
- Thank you received: 0
-
-

15 years 11 months ago [\#1410](#1410) by [Redeemer](/forum/user/240-redeemer "View Redeemer's Profile")  Replied by *[Redeemer](/forum/user/240-redeemer "View Redeemer's Profile")* on topic *[Re: Add short descriptions under products in listings](/forum/4-how-to/1331-add-short-descriptions-under-products-in-listings#1410 "Hello again,  Our website is nearly complete. However, I would like to know if or how I can add short descriptions under my products when I am viewing a product listing. It would also be great if I could add a Read more... button at the end of the short descriptions.  The reason we would like to do this is because we are worried that our customers may not immediately realize that clicking on a product will simply show it in more detail, rather than actually purchasing it.  Thanks for your time, -Redeemer  EDIT: A small 'Details' button would do the trick too, if that's possible.")*

Hi,

Sorry, I've tried clearing my cache to solve the problem... The problem doesn't seem to lie there, either.

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

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

Less More

- Posts: 36
- Thank you received: 0
-
-

15 years 11 months ago [\#1483](#1483) by [Redeemer](/forum/user/240-redeemer "View Redeemer's Profile")  Replied by *[Redeemer](/forum/user/240-redeemer "View Redeemer's Profile")* on topic *[Re: Add short descriptions under products in listings](/forum/4-how-to/1331-add-short-descriptions-under-products-in-listings#1483 "Hello again,  Our website is nearly complete. However, I would like to know if or how I can add short descriptions under my products when I am viewing a product listing. It would also be great if I could add a Read more... button at the end of the short descriptions.  The reason we would like to do this is because we are worried that our customers may not immediately realize that clicking on a product will simply show it in more detail, rather than actually purchasing it.  Thanks for your time, -Redeemer  EDIT: A small 'Details' button would do the trick too, if that's possible.")*

Ok, I solved the issue for myself. Here was the problem:

For whatever reason, there are TWO listing_img_title.php files that hikashop uses. One is kept under the template you are using, in my case "rhuk_milkyway":
/templates/rhuk_milkyway/html/com_hikashop/product/listing_img_title.php

This one can be edited right through the Display-&gt;Views menu in the back-end of your Joomla! installation.

The second file is kept in:
/components/com_hikashop/views/product/tmpl/listing_img_title.php

For whatever reason, the Product Listing component uses the first one, but all other modules use the second.

It is my guess that they use two files because one is needed for template-specific layouts, and one is needed for generic modules.

At any rate, if you want a 'Details' button, or any other modification, to appear no matter if the products are appearing as the content or as a module, you must make the changes to BOTH files.

So, thanks for your help anyway, Nicolas; it was your code that helped me accomplish this in the first place. ![;)](/media/kunena/emoticons/11.png ";)")
-Redeemer

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

15 years 11 months ago [\#1485](#1485) 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 short descriptions under products in listings](/forum/4-how-to/1331-add-short-descriptions-under-products-in-listings#1485 "Hello again,  Our website is nearly complete. However, I would like to know if or how I can add short descriptions under my products when I am viewing a product listing. It would also be great if I could add a Read more... button at the end of the short descriptions.  The reason we would like to do this is because we are worried that our customers may not immediately realize that clicking on a product will simply show it in more detail, rather than actually purchasing it.  Thanks for your time, -Redeemer  EDIT: A small 'Details' button would do the trick too, if that's possible.")*

Hum. Interesting. Normally, the file in the template should always be used by joomla if there and the other one ignored. That's the principle of the override of views in joomla. Be it in a module or as main component. It's strange that it's not the case on your website.

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

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

[](#top)
