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

#   Short description at the product listings

##

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

Less More

- Posts: 7
- Thank you received: 0
-
-

14 years 10 months ago [\#32677](#32677) by [uniteddare](/forum/user/5064-uniteddare "View uniteddare's Profile")  *[Short description at the product listings](/forum/4-how-to/32677-short-description-at-the-product-listings#32677 "Ive seen this   www.hikashop.com/en/support/forum/4-how-...cts-in-listings.html  old theme but it is not solving the problem for me.  At the product listings page there is some room between product image and price so I would like to know whether it is possible to fill this space with a brief description of the goods?  Thanks")* was created by *[uniteddare](/forum/user/5064-uniteddare "View uniteddare's Profile")*

Ive seen this [ www.hikashop.com/en/support/forum/4-how-...cts-in-listings.html](http://www.hikashop.com/en/support/forum/4-how-to/1331-add-short-descriptions-under-products-in-listings.html) old theme but it is not solving the problem for me.

At the product listings page there is some room between product image and price so I would like to know whether it is possible to fill this space with a brief description of the goods?

Thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzMyNjc3LXNob3J0LWRlc2NyaXB0aW9uLWF0LXRoZS1wcm9kdWN0LWxpc3RpbmdzP3RtcGw9bWFya2Rvd24=) 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 10 months ago [\#32707](#32707) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Short description at the product listings](/forum/4-how-to/32677-short-description-at-the-product-listings#32707 "Ive seen this   www.hikashop.com/en/support/forum/4-how-...cts-in-listings.html  old theme but it is not solving the problem for me.  At the product listings page there is some room between product image and price so I would like to know whether it is possible to fill this space with a brief description of the goods?  Thanks")*

Sure it's possible. You should add a read more link in your products description. Then, in the file "listing_img_title" or "listing_img" (it depends on the layout you're using) of the view "product" that you can edit via the menu Display-&gt;Views, you could add that line of code to display the beginning of the product description until the read more link:

&lt;?php echo preg_replace('#&lt;hr *id="system-readmore" */&gt;.*#is','',$this-&gt;row-&gt;product_description); ?&gt;

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

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

Less More

- Posts: 7
- Thank you received: 0
-
-

14 years 10 months ago [\#33378](#33378) by [uniteddare](/forum/user/5064-uniteddare "View uniteddare's Profile")  Replied by *[uniteddare](/forum/user/5064-uniteddare "View uniteddare's Profile")* on topic *[Re: Short description at the product listings](/forum/4-how-to/32677-short-description-at-the-product-listings#33378 "Ive seen this   www.hikashop.com/en/support/forum/4-how-...cts-in-listings.html  old theme but it is not solving the problem for me.  At the product listings page there is some room between product image and price so I would like to know whether it is possible to fill this space with a brief description of the goods?  Thanks")*

Okay, and how that read more link should look like? I mean code.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzMyNjc3LXNob3J0LWRlc2NyaXB0aW9uLWF0LXRoZS1wcm9kdWN0LWxpc3RpbmdzP3RtcGw9bWFya2Rvd24=) 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 10 months ago [\#33419](#33419) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Short description at the product listings](/forum/4-how-to/32677-short-description-at-the-product-listings#33419 "Ive seen this   www.hikashop.com/en/support/forum/4-how-...cts-in-listings.html  old theme but it is not solving the problem for me.  At the product listings page there is some room between product image and price so I would like to know whether it is possible to fill this space with a brief description of the goods?  Thanks")*

You can do like that:
[ www.hikashop.com/en/support/forum/4-how-...ml?limit=20&amp;start=20](http://www.hikashop.com/en/support/forum/4-how-to/10626-read-more-button-not-available.html?limit=20&start=20)

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

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

Less More

- Posts: 7
- Thank you received: 0
-
-

14 years 10 months ago [\#33517](#33517) by [uniteddare](/forum/user/5064-uniteddare "View uniteddare's Profile")  Replied by *[uniteddare](/forum/user/5064-uniteddare "View uniteddare's Profile")* on topic *[Re: Short description at the product listings](/forum/4-how-to/32677-short-description-at-the-product-listings#33517 "Ive seen this   www.hikashop.com/en/support/forum/4-how-...cts-in-listings.html  old theme but it is not solving the problem for me.  At the product listings page there is some room between product image and price so I would like to know whether it is possible to fill this space with a brief description of the goods?  Thanks")*

Ive made changes like it shown at that topic - but nothing happened.
This code &lt;?php echo preg_replace('#&lt;hr *id="system-readmore" */&gt;.*#is','',$this-&gt;row-&gt;product_description); ?&gt; was also added to pointed here files and still nothing.
Can you make some advice?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzMyNjc3LXNob3J0LWRlc2NyaXB0aW9uLWF0LXRoZS1wcm9kdWN0LWxpc3RpbmdzP3RtcGw9bWFya2Rvd24=) 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 10 months ago [\#33559](#33559) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Short description at the product listings](/forum/4-how-to/32677-short-description-at-the-product-listings#33559 "Ive seen this   www.hikashop.com/en/support/forum/4-how-...cts-in-listings.html  old theme but it is not solving the problem for me.  At the product listings page there is some room between product image and price so I would like to know whether it is possible to fill this space with a brief description of the goods?  Thanks")*

The code :
&lt;?php echo preg_replace('#&lt;hr *id="system-readmore" */&gt;.*#is','',$this-&gt;row-&gt;product_description); ?&gt;
is for displaying the description.
If you want to display a read more link, you should add the code :
echo '&lt;a href="'.$link.'"&gt;Read more&lt;/a&gt;';

Also, make sure that you're editing the correct file (for the template you're using, not for another template).

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

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

Less More

- Posts: 198
- Thank you received: 4
-
-

12 years 11 months ago [\#131456](#131456) by [arnask](/forum/user/6752-arnask "View arnask's Profile")  Replied by *[arnask](/forum/user/6752-arnask "View arnask's Profile")* on topic *[Re: Short description at the product listings](/forum/4-how-to/32677-short-description-at-the-product-listings#131456 "Ive seen this   www.hikashop.com/en/support/forum/4-how-...cts-in-listings.html  old theme but it is not solving the problem for me.  At the product listings page there is some room between product image and price so I would like to know whether it is possible to fill this space with a brief description of the goods?  Thanks")*

is there any new method for adding short description between image and price? without editing some files?

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

12 years 11 months ago [\#131476](#131476) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Short description at the product listings](/forum/4-how-to/32677-short-description-at-the-product-listings#131476 "Ive seen this   www.hikashop.com/en/support/forum/4-how-...cts-in-listings.html  old theme but it is not solving the problem for me.  At the product listings page there is some room between product image and price so I would like to know whether it is possible to fill this space with a brief description of the goods?  Thanks")*

No it's still the same.

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

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

Less More

- Posts: 198
- Thank you received: 4
-
-

12 years 11 months ago [\#131480](#131480) by [arnask](/forum/user/6752-arnask "View arnask's Profile")  Replied by *[arnask](/forum/user/6752-arnask "View arnask's Profile")* on topic *[Re: Short description at the product listings](/forum/4-how-to/32677-short-description-at-the-product-listings#131480 "Ive seen this   www.hikashop.com/en/support/forum/4-how-...cts-in-listings.html  old theme but it is not solving the problem for me.  At the product listings page there is some room between product image and price so I would like to know whether it is possible to fill this space with a brief description of the goods?  Thanks")*

is that something that will be lost after update? is i will change this file?

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

12 years 11 months ago [\#131687](#131687) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Short description at the product listings](/forum/4-how-to/32677-short-description-at-the-product-listings#131687 "Ive seen this   www.hikashop.com/en/support/forum/4-how-...cts-in-listings.html  old theme but it is not solving the problem for me.  At the product listings page there is some room between product image and price so I would like to know whether it is possible to fill this space with a brief description of the goods?  Thanks")*

No. If you do the change via the menu Display&gt;Views as we explain, the changes are saved as view overrides in your template so you don't loose them when you update HikaShop.

The following user(s) said Thank You: [arnask](/forum/user/6752-arnask "View arnask's Profile")

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

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

Less More

- Posts: 3
- Thank you received: 0
-
-

11 years 11 months ago -  11 years 11 months ago [\#178519](#178519) by [Apeter](/forum/user/34886-apeter "View Apeter's Profile")  Replied by *[Apeter](/forum/user/34886-apeter "View Apeter's Profile")* on topic *[Short description at the product listings](/forum/4-how-to/32677-short-description-at-the-product-listings#178519 "Ive seen this   www.hikashop.com/en/support/forum/4-how-...cts-in-listings.html  old theme but it is not solving the problem for me.  At the product listings page there is some room between product image and price so I would like to know whether it is possible to fill this space with a brief description of the goods?  Thanks")*

Thnk you bro for All your Support

I will Love you to Break this down for me

I want to Add Read more &amp; Short Description to my Product Listing page

So i have Opened a File in my Tem Name is : listing_img_title

And this the code i got frm you Code:

&lt;?php echo preg_replace('#&lt;hr *id="system-readmore" */&gt;.*#is','',$this-&gt;row-&gt;product_description); ?&gt; &lt;?php echo '&lt;a href="'.$link.'"&gt;Read more&lt;/a&gt;'; ?&gt;

Now i got Confused on were to put those lines of script
Could love if you help solve

This the whole Line of code in the File Code:

&lt;?php /** * @package HikaShop for Joomla! * @version 2.3.0 * @author hikashop.com * @copyright (C) 2010-2014 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); if(!empty($this-&gt;row-&gt;extraData-&gt;top)) { echo implode("\r\n",$this-&gt;row-&gt;extraData-&gt;top); } ?&gt; &lt;!-- PRODUCT IMG --&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;div style="position:relative;text-align:center;clear:both;width:&lt;?php echo $this-&gt;image-&gt;main_thumbnail_x;?&gt;px;margin: auto;" class="hikashop_product_image_subdiv"&gt; &lt;?php if($this-&gt;params-&gt;get('link_to_product_page',1)){ ?&gt; &lt;a href="&lt;?php echo $link;?&gt;" title="&lt;?php echo $this-&gt;escape($this-&gt;row-&gt;product_name); ?&gt;"&gt; &lt;?php } $image_options = array('default' =&gt; true,'forcesize'=&gt;$this-&gt;config-&gt;get('image_force_size',true),'scale'=&gt;$this-&gt;config-&gt;get('image_scale_mode','inside')); $img = $this-&gt;image-&gt;getThumbnail(@$this-&gt;row-&gt;file_path, array('width' =&gt; $this-&gt;image-&gt;main_thumbnail_x, 'height' =&gt; $this-&gt;image-&gt;main_thumbnail_y), $image_options); if($img-&gt;success) { echo '&lt;img class="hikashop_product_listing_image" title="'.$this-&gt;escape(@$this-&gt;row-&gt;file_description).'" alt="'.$this-&gt;escape(@$this-&gt;row-&gt;file_name).'" src="'.$img-&gt;url.'"/&gt;'; } $main_thumb_x = $this-&gt;image-&gt;main_thumbnail_x; $main_thumb_y = $this-&gt;image-&gt;main_thumbnail_y; $horizontal = '0'; $vertical = '0'; if($this-&gt;params-&gt;get('display_badges',1)){ $this-&gt;classbadge-&gt;placeBadges($this-&gt;image, $this-&gt;row-&gt;badges, $vertical, $horizontal); } $this-&gt;image-&gt;main_thumbnail_x = $main_thumb_x; $this-&gt;image-&gt;main_thumbnail_y = $main_thumb_y; if($this-&gt;params-&gt;get('link_to_product_page',1)){ ?&gt; &lt;/a&gt; &lt;?php } ?&gt; &lt;/div&gt; &lt;/div&gt; &lt;!-- EO PRODUCT IMG --&gt; &lt;!-- PRODUCT PRICE --&gt; &lt;?php if($this-&gt;params-&gt;get('show_price','-1')=='-1'){ $config =&amp; hikashop_config(); $this-&gt;params-&gt;set('show_price',$config-&gt;get('show_price')); } if($this-&gt;params-&gt;get('show_price')){ $this-&gt;setLayout('listing_price'); echo $this-&gt;loadTemplate(); } ?&gt; &lt;!-- EO PRODUCT PRICE --&gt; &lt;!-- PRODUCT VOTE --&gt; &lt;?php if($this-&gt;params-&gt;get('show_vote_product')){ $this-&gt;setLayout('listing_vote'); echo $this-&gt;loadTemplate(); } ?&gt; &lt;!-- EO PRODUCT VOTE --&gt; &lt;!-- ADD TO CART BUTTON AREA --&gt; &lt;?php if($this-&gt;params-&gt;get('add_to_cart') &#124;&#124; $this-&gt;params-&gt;get('add_to_wishlist')){ ?&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;ajax=''; if(!$this-&gt;config-&gt;get('ajax_add_to_cart',0)){ $this-&gt;ajax = 'return hikashopModifyQuantity(\''.$this-&gt;row-&gt;product_id.'\',field,1,\'hikashop_product_form_'.$this-&gt;row-&gt;product_id.'_'.$this-&gt;params-&gt;get('main_div_name').'\',\'cart\');'; } $this-&gt;setLayout('quantity'); echo $this-&gt;loadTemplate(); if(!empty($this-&gt;ajax) &amp;&amp; $this-&gt;config-&gt;get('redirect_url_after_add_cart','stay_if_cart')=='ask_user'){ ?&gt; &lt;input type="hidden" name="popup" value="1"/&gt; &lt;?php } ?&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;input type="hidden" name="return_url" value="&lt;?php echo urlencode(base64_encode(urldecode($this-&gt;redirect_url)));?&gt;"/&gt; &lt;/form&gt;&lt;?php } ?&gt; &lt;!-- EO ADD TO CART BUTTON AREA --&gt; &lt;!-- COMPARISON AREA --&gt; &lt;?php if(JRequest::getVar('hikashop_front_end_main',0) &amp;&amp; JRequest::getVar('task')=='listing' &amp;&amp; $this-&gt;params-&gt;get('show_compare')) { ?&gt; &lt;br/&gt;&lt;?php if( $this-&gt;params-&gt;get('show_compare') == 1 ) { $js = 'setToCompareList('.$this-&gt;row-&gt;product_id.',\''.$this-&gt;escape($this-&gt;row-&gt;product_name).'\',this); return false;'; echo $this-&gt;cart-&gt;displayButton(JText::_('ADD_TO_COMPARE_LIST'),'compare',$this-&gt;params,$link,$js,'',0,1,'hikashop_compare_button'); } else { ?&gt; &lt;input type="checkbox" class="hikashop_compare_checkbox" id="hikashop_listing_chk_&lt;?php echo $this-&gt;row-&gt;product_id;?&gt;" onchange="setToCompareList(&lt;?php echo $this-&gt;row-&gt;product_id;?&gt;,'&lt;?php echo $this-&gt;escape($this-&gt;row-&gt;product_name); ?&gt;',this);"&gt;&lt;label for="hikashop_listing_chk_&lt;?php echo $this-&gt;row-&gt;product_id;?&gt;"&gt;&lt;?php echo JText::_('ADD_TO_COMPARE_LIST'); ?&gt;&lt;/label&gt; &lt;?php } } ?&gt; &lt;!-- EO COMPARISON AREA --&gt; &lt;?php if(!empty($this-&gt;row-&gt;extraData-&gt;bottom)) { echo implode("\r\n",$this-&gt;row-&gt;extraData-&gt;bottom); } ?&gt;

Thanks will love if you can solve

Thanks for quick response in Advance

Last edit: 11 years 11 months ago by [Jerome](/forum/user/80-jerome "View Jerome's Profile"). Reason: [code] is nice ! - please use it :)

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

11 years 11 months ago [\#178568](#178568) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Short description at the product listings](/forum/4-how-to/32677-short-description-at-the-product-listings#178568 "Ive seen this   www.hikashop.com/en/support/forum/4-how-...cts-in-listings.html  old theme but it is not solving the problem for me.  At the product listings page there is some room between product image and price so I would like to know whether it is possible to fill this space with a brief description of the goods?  Thanks")*

Hi,

The importation question is : where you do you want to display the product description exactly ?
Before the price ? Before the vote ? Before the add to cart ? at the bottom ?

For example, if you want to display it at the bottom, you just have to paste the code that Nicolas gave you ; at the bottom of the code you pasted ; in order to have something like that: Code:

&lt;!-- EO COMPARISON AREA --&gt; &lt;?php if(!empty($this-&gt;row-&gt;extraData-&gt;bottom)) { echo implode("\r\n",$this-&gt;row-&gt;extraData-&gt;bottom); } ?&gt; &lt;?php echo preg_replace('#&lt;hr *id="system-readmore" */&gt;.*#is','',$this-&gt;row-&gt;product_description); ?&gt;

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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

Less More

- Posts: 31
- Thank you received: 0
-
-

9 years 3 months ago [\#273622](#273622) by [marketingfocal](/forum/user/37430-marketingfocal "View marketingfocal's Profile")  Replied by *[marketingfocal](/forum/user/37430-marketingfocal "View marketingfocal's Profile")* on topic *[Short description at the product listings](/forum/4-how-to/32677-short-description-at-the-product-listings#273622 "Ive seen this   www.hikashop.com/en/support/forum/4-how-...cts-in-listings.html  old theme but it is not solving the problem for me.  At the product listings page there is some room between product image and price so I would like to know whether it is possible to fill this space with a brief description of the goods?  Thanks")*

Hi Jerome,

We need tu show a custom field in product listing but only show the first two lines and "...". Is it possible? Regards, Leo.

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

- **[Philip](/forum/user/34318-philip "View Philip's Profile")**
- [![Philip's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar34318_2015-11-18-2.png)](/forum/user/34318-philip "View Philip's Profile")
- [ Offline](/forum/user/34318-philip)

Less More

- Posts: 4820
- Thank you received: 654
-
-

9 years 3 months ago -  9 years 3 months ago [\#273628](#273628) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[Short description at the product listings](/forum/4-how-to/32677-short-description-at-the-product-listings#273628 "Ive seen this   www.hikashop.com/en/support/forum/4-how-...cts-in-listings.html  old theme but it is not solving the problem for me.  At the product listings page there is some room between product image and price so I would like to know whether it is possible to fill this space with a brief description of the goods?  Thanks")*

Hello,

I think you use an **Item Custom field** and create an override view, you need to have html &amp; php knowledge, follow these steps :
- First, go to **Components** =&gt; **HikaShop** =&gt; **Configuration**
- Then in **Display** dropdown select **Custom fields**
- Click on **New**
- Reproduce this settings :

[ ![itemCField.png](/forum/attachment/39123) ](/forum/attachment/39123 "itemCField.png")

And add your custom code in order to have your custom field display on your listing view :
- Define which listing **type** you use among **listing**, **div** or **tabular**
- Go in your **Main HikaShop Configuration** part (like previous)
- On **Display** dropdown this time select **Views**
- Use **3** filter dropdown with **Product**/***YourTemplate***/**Front end**
- Select your required among listing_**div**, listing_**list** or listing_**table**
- Add where required this code to display your custom field : Code:

echo($this-&gt;row-&gt;prod_desc);

Just be sure to be **in** the block that start with : Code:

&lt;div class="hikashop_subcontainer &lt;?php echo $this-&gt;borderClass; ?&gt;"&gt;

, around line **125** and before this command : Code:

unset($this-&gt;row);

.
And to see how to proceed, see [ **this tutorial**](https://www.hikashop.com/support/documentation/153-customize-the-display.html).

After this you will have to full your custom field directly in your product backend configuration.

Hope this will help you to achieved what you wants.

Regards

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

Last edit: 9 years 3 months ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

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

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

Less More

- Posts: 31
- Thank you received: 0
-
-

9 years 3 months ago [\#273713](#273713) by [marketingfocal](/forum/user/37430-marketingfocal "View marketingfocal's Profile")  Replied by *[marketingfocal](/forum/user/37430-marketingfocal "View marketingfocal's Profile")* on topic *[Short description at the product listings](/forum/4-how-to/32677-short-description-at-the-product-listings#273713 "Ive seen this   www.hikashop.com/en/support/forum/4-how-...cts-in-listings.html  old theme but it is not solving the problem for me.  At the product listings page there is some room between product image and price so I would like to know whether it is possible to fill this space with a brief description of the goods?  Thanks")*

Thanks Philips! I can show the text. But, some of them are very big and only I need to show only two lines. Where I can set this? Regards, Leo.

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

9 years 3 months ago [\#273766](#273766) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Short description at the product listings](/forum/4-how-to/32677-short-description-at-the-product-listings#273766 "Ive seen this   www.hikashop.com/en/support/forum/4-how-...cts-in-listings.html  old theme but it is not solving the problem for me.  At the product listings page there is some room between product image and price so I would like to know whether it is possible to fill this space with a brief description of the goods?  Thanks")*

Hi,

There is no setting for that.
You need to use custom code to strip the value of the custom field to 2 lines like you want.

The simplest would be to do something like that:
&lt;?php echo preg_replace('#&lt;hr *id="system-readmore" */&gt;.*#is','',$this-&gt;row-&gt;prod_desc); ?&gt;
and add a read more tag in your custom field editor where you want the cut to be done.

Please understand that custom coding like that is outside of the user support we provide. We've already gave you all the necessary information to know how to do it if you're a developer. If you're not a developer, we have partners you can contact for such custom development job:
[ www.hikashop.com/home/our-partners.html](https://www.hikashop.com/home/our-partners.html)

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

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

[](#top)
