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

#   How can I display a short description?

##

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

Less More

- Posts: 222
- Thank you received: 1
-
-

13 years 8 months ago -  13 years 8 months ago [\#94537](#94537) by [Vero](/forum/user/5108-vero "View Vero's Profile")  *[How can I display a short description?](/forum/4-how-to/79297-how-can-i-display-a-short-description#94537 "How can I display a short product description on category product listing pages? On the product page I have a long description. But I can't find an option for a short description. Vero")* was created by *[Vero](/forum/user/5108-vero "View Vero's Profile")*

How can I display a short product description on category product listing pages? On the product page I have a long description. But I can't find an option for a short description.
Vero

Last edit: 13 years 8 months ago by [Vero](/forum/user/5108-vero "View Vero's Profile"). Reason: fout

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc5Mjk3LWhvdy1jYW4taS1kaXNwbGF5LWEtc2hvcnQtZGVzY3JpcHRpb24/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: 86592
- Thank you received: 14332
-
-

13 years 8 months ago [\#94558](#94558) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[How can I display a short description?](/forum/4-how-to/79297-how-can-i-display-a-short-description#94558 "How can I display a short product description on category product listing pages? On the product page I have a long description. But I can't find an option for a short description. Vero")*

Like that: [ www.hikashop.com/en/forum/4-how-to/32677...roduct-listings.html](http://www.hikashop.com/en/forum/4-how-to/32677-short-description-at-the-product-listings.html)

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

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

Less More

- Posts: 222
- Thank you received: 1
-
-

13 years 8 months ago -  13 years 8 months ago [\#94595](#94595) by [Vero](/forum/user/5108-vero "View Vero's Profile")  Replied by *[Vero](/forum/user/5108-vero "View Vero's Profile")* on topic *[How can I display a short description?](/forum/4-how-to/79297-how-can-i-display-a-short-description#94595 "How can I display a short product description on category product listing pages? On the product page I have a long description. But I can't find an option for a short description. Vero")*

I have added and ... nothing

I have added in this place:
&lt;!-- PRODUCT NAME --&gt;
&lt;span class="hikashop_product_name"&gt;
&lt;?php echo preg_replace('#&lt;hr*id="system-readmore"*/&gt;.*#is',",$this-&gt;row-&gt;product_description);?&gt;
&lt;?php if($this-&gt;params-&gt;get('link_to_product_page',1)){ ?&gt;

P.S. I show my products in tabel and I wil under the product name to show a short description (listing_img_title)

Last edit: 13 years 8 months ago by [Vero](/forum/user/5108-vero "View Vero's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc5Mjk3LWhvdy1jYW4taS1kaXNwbGF5LWEtc2hvcnQtZGVzY3JpcHRpb24/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: 86592
- Thank you received: 14332
-
-

13 years 8 months ago [\#94608](#94608) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[How can I display a short description?](/forum/4-how-to/79297-how-can-i-display-a-short-description#94608 "How can I display a short product description on category product listing pages? On the product page I have a long description. But I can't find an option for a short description. Vero")*

If you're using the "table" layout, it's the file "listing_table" that you need to edit, not "listing_img_title".

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

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

Less More

- Posts: 222
- Thank you received: 1
-
-

13 years 8 months ago -  13 years 8 months ago [\#94632](#94632) by [Vero](/forum/user/5108-vero "View Vero's Profile")  Replied by *[Vero](/forum/user/5108-vero "View Vero's Profile")* on topic *[How can I display a short description?](/forum/4-how-to/79297-how-can-i-display-a-short-description#94632 "How can I display a short product description on category product listing pages? On the product page I have a long description. But I can't find an option for a short description. Vero")*

I did. At beginning of file, nothing changes. At the end of file... nothing changes.
(product listing_table)
In which place of file exactly have I to add this code?

Vero

Last edit: 13 years 8 months ago by [Vero](/forum/user/5108-vero "View Vero's Profile").

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

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

Less More

- Posts: 222
- Thank you received: 1
-
-

13 years 8 months ago -  13 years 8 months ago [\#94639](#94639) by [Vero](/forum/user/5108-vero "View Vero's Profile")  Replied by *[Vero](/forum/user/5108-vero "View Vero's Profile")* on topic *[How can I display a short description?](/forum/4-how-to/79297-how-can-i-display-a-short-description#94639 "How can I display a short product description on category product listing pages? On the product page I have a long description. But I can't find an option for a short description. Vero")*

P.S. It changed, crashed my template. I removed this code.
I am not a prof. Can you, please, explain, in which place of file have I to add this code.
Vero

Last edit: 13 years 8 months ago by [Vero](/forum/user/5108-vero "View Vero's Profile").

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

13 years 8 months ago [\#94669](#94669) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[How can I display a short description?](/forum/4-how-to/79297-how-can-i-display-a-short-description#94669 "How can I display a short product description on category product listing pages? On the product page I have a long description. But I can't find an option for a short description. Vero")*

Hi,

Where you have placed it was ok.
Had you an error returned ? (thanks to set the Joomla error reporting to maximum)

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

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

Less More

- Posts: 222
- Thank you received: 1
-
-

13 years 8 months ago [\#94687](#94687) by [Vero](/forum/user/5108-vero "View Vero's Profile")  Replied by *[Vero](/forum/user/5108-vero "View Vero's Profile")* on topic *[How can I display a short description?](/forum/4-how-to/79297-how-can-i-display-a-short-description#94687 "How can I display a short product description on category product listing pages? On the product page I have a long description. But I can't find an option for a short description. Vero")*

> Xavier wrote: Hi,
>
> Where you have placed it was ok.
> Had you an error returned ? (thanks to set the Joomla error reporting to maximum)

I had no error message. Just my website was on white background, all the items in a row as a list, with other sizes and font family.
Vero

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

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

Less More

- Posts: 222
- Thank you received: 1
-
-

13 years 8 months ago [\#94815](#94815) by [Vero](/forum/user/5108-vero "View Vero's Profile")  Replied by *[Vero](/forum/user/5108-vero "View Vero's Profile")* on topic *[How can I display a short description?](/forum/4-how-to/79297-how-can-i-display-a-short-description#94815 "How can I display a short product description on category product listing pages? On the product page I have a long description. But I can't find an option for a short description. Vero")*

Can somebody make an advice?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc5Mjk3LWhvdy1jYW4taS1kaXNwbGF5LWEtc2hvcnQtZGVzY3JpcHRpb24/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: 86592
- Thank you received: 14332
-
-

13 years 8 months ago [\#94820](#94820) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[How can I display a short description?](/forum/4-how-to/79297-how-can-i-display-a-short-description#94820 "How can I display a short product description on category product listing pages? On the product page I have a long description. But I can't find an option for a short description. Vero")*

If you had turned on the error reporting you should have had an error when you did your change.

The problem is that you should not at it at the beginning or at the end of the listing_table file.

You should add the line Code:

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

after Code:

if($this-&gt;params-&gt;get('link_to_product_page',1)){ ?&gt; &lt;/a&gt; &lt;?php } ?&gt;

in listing_table.

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

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

Less More

- Posts: 222
- Thank you received: 1
-
-

13 years 8 months ago [\#94836](#94836) by [Vero](/forum/user/5108-vero "View Vero's Profile")  Replied by *[Vero](/forum/user/5108-vero "View Vero's Profile")* on topic *[How can I display a short description?](/forum/4-how-to/79297-how-can-i-display-a-short-description#94836 "How can I display a short product description on category product listing pages? On the product page I have a long description. But I can't find an option for a short description. Vero")*

That same.

On the first image my corect website, on the second image, what happened if I add this code, and on the third image where I added code

[ ![Nieuwe&#95;afbeelding&#95;3.jpg](/forum/attachment/9160) ](/forum/attachment/9160 "...beelding&#95;3.jpg")

[ ![Nieuwe&#95;afbeelding&#95;2.jpg](/forum/attachment/9161) ](/forum/attachment/9161 "...beelding&#95;2.jpg")

[ ![Nieuwe&#95;afbeelding&#95;4.jpg](/forum/attachment/9162) ](/forum/attachment/9162 "...beelding&#95;4.jpg")

- [ ![Nieuwe&#95;afbeelding&#95;3.jpg](/forum/attachment/9160) ](/forum/attachment/9160 "...beelding&#95;3.jpg") [ ](/forum/attachment/9160?download=1 "...beelding&#95;3.jpg")
- [ ![Nieuwe&#95;afbeelding&#95;2.jpg](/forum/attachment/9161) ](/forum/attachment/9161 "...beelding&#95;2.jpg") [ ](/forum/attachment/9161?download=1 "...beelding&#95;2.jpg")
- [ ![Nieuwe&#95;afbeelding&#95;4.jpg](/forum/attachment/9162) ](/forum/attachment/9162 "...beelding&#95;4.jpg") [ ](/forum/attachment/9162?download=1 "...beelding&#95;4.jpg")

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

13 years 8 months ago [\#94957](#94957) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[How can I display a short description?](/forum/4-how-to/79297-how-can-i-display-a-short-description#94957 "How can I display a short product description on category product listing pages? On the product page I have a long description. But I can't find an option for a short description. Vero")*

Hi,

Thanks to use this code: Code:

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

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

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

Less More

- Posts: 222
- Thank you received: 1
-
-

13 years 8 months ago [\#94981](#94981) by [Vero](/forum/user/5108-vero "View Vero's Profile")  Replied by *[Vero](/forum/user/5108-vero "View Vero's Profile")* on topic *[How can I display a short description?](/forum/4-how-to/79297-how-can-i-display-a-short-description#94981 "How can I display a short product description on category product listing pages? On the product page I have a long description. But I can't find an option for a short description. Vero")*

> Xavier wrote: Hi,
>
> Thanks to use this code:
>
> Code:
>
> &lt;?php echo preg_replace('#&lt;hr*id="system-readmore"*/&gt;.*#is','',$this-&gt;row-&gt;product_description); ?&gt;

I don't understand what you mean. I use this code. That can you see on image. I have placed above 3 images. Sorry, but I don't understand.

Vero

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

- **[Eliot](/forum/user/1824-eliot "View Eliot's Profile")**
- [![Eliot's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar1824.png)](/forum/user/1824-eliot "View Eliot's Profile")
- [ Offline](/forum/user/1824-eliot)

Less More

- Posts: 2334
- Thank you received: 403
-
-

13 years 8 months ago [\#95010](#95010) by [Eliot](/forum/user/1824-eliot "View Eliot's Profile")  Replied by *[Eliot](/forum/user/1824-eliot "View Eliot's Profile")* on topic *[How can I display a short description?](/forum/4-how-to/79297-how-can-i-display-a-short-description#95010 "How can I display a short product description on category product listing pages? On the product page I have a long description. But I can't find an option for a short description. Vero")*

Hi Vero,

It's not exactly the same code. Try this one instead of the one given by Nicolas and it should work ![:)](/media/kunena/emoticons/3.png ":)")

The following user(s) said Thank You: [Vero](/forum/user/5108-vero "View Vero's Profile")

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

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

Less More

- Posts: 222
- Thank you received: 1
-
-

13 years 8 months ago [\#95030](#95030) by [Vero](/forum/user/5108-vero "View Vero's Profile")  Replied by *[Vero](/forum/user/5108-vero "View Vero's Profile")* on topic *[How can I display a short description?](/forum/4-how-to/79297-how-can-i-display-a-short-description#95030 "How can I display a short product description on category product listing pages? On the product page I have a long description. But I can't find an option for a short description. Vero")*

Now I have this finally, but the whole description. So, not just a short, but a short description + black line + a long description...

Who can I have just a short description in product listing? A short description has to be not a link. Links are image and the name of product. Because my link is of pink color, than is enough just the name us a link. A short description I wil in normal grey color. Others the all text pink is not nice and too much pink color.

Can you help me?

Vero

Vero

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc5Mjk3LWhvdy1jYW4taS1kaXNwbGF5LWEtc2hvcnQtZGVzY3JpcHRpb24/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: 86592
- Thank you received: 14332
-
-

13 years 8 months ago [\#95101](#95101) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[How can I display a short description?](/forum/4-how-to/79297-how-can-i-display-a-short-description#95101 "How can I display a short product description on category product listing pages? On the product page I have a long description. But I can't find an option for a short description. Vero")*

The code proposed by Xavier will display the short description.
If you want the full description, then simply use that code instead:
&lt;?php echo $this-&gt;row-&gt;product_description; ?&gt;

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

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

Less More

- Posts: 222
- Thank you received: 1
-
-

13 years 8 months ago [\#95124](#95124) by [Vero](/forum/user/5108-vero "View Vero's Profile")  Replied by *[Vero](/forum/user/5108-vero "View Vero's Profile")* on topic *[How can I display a short description?](/forum/4-how-to/79297-how-can-i-display-a-short-description#95124 "How can I display a short product description on category product listing pages? On the product page I have a long description. But I can't find an option for a short description. Vero")*

> nicolas wrote: The code proposed by Xavier will display the short description.
> If you want the full description, then simply use that code instead:
> &lt;?php echo $this-&gt;row-&gt;product\_description; ?&gt;

I know that my Englisch is not good, I try again.
I wil only! short description on product listig table pages. With the code proposed by Xavier I have a short description + black line + a long description on those pages. So I have all! on those pages, but I wil only! a short description that is above the readmore link.

That is the image what I have now:
you see the black line and under this line the whole description is shown. I need only the first three lines of text and don't need this black line and the rest of the text under that line.

[ ![Nieuwe&#95;afbeelding&#95;1&#95;2013-03-18.jpg](/forum/attachment/9213) ](/forum/attachment/9213 "...2013-03-18.jpg")

- [ ![Nieuwe&#95;afbeelding&#95;1&#95;2013-03-18.jpg](/forum/attachment/9213) ](/forum/attachment/9213 "...2013-03-18.jpg") [ ](/forum/attachment/9213?download=1 "...2013-03-18.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc5Mjk3LWhvdy1jYW4taS1kaXNwbGF5LWEtc2hvcnQtZGVzY3JpcHRpb24/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: 86592
- Thank you received: 14332
-
-

13 years 8 months ago [\#95171](#95171) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[How can I display a short description?](/forum/4-how-to/79297-how-can-i-display-a-short-description#95171 "How can I display a short product description on category product listing pages? On the product page I have a long description. But I can't find an option for a short description. Vero")*

Then it means that the description of the product doesn't have a valid read more tag.
Please make sure that it uses: Code:

&lt;hr id="system-readmore" /&gt;

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

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

Less More

- Posts: 222
- Thank you received: 1
-
-

13 years 8 months ago -  13 years 8 months ago [\#95228](#95228) by [Vero](/forum/user/5108-vero "View Vero's Profile")  Replied by *[Vero](/forum/user/5108-vero "View Vero's Profile")* on topic *[How can I display a short description?](/forum/4-how-to/79297-how-can-i-display-a-short-description#95228 "How can I display a short product description on category product listing pages? On the product page I have a long description. But I can't find an option for a short description. Vero")*

> nicolas wrote: Then it means that the description of the product doesn't have a valid read more tag.
> Please make sure that it uses:
>
> Code:
>
> &lt;hr id="system-readmore" /&gt;

It uses, of course. Do you see that black line? If it not uses, will be no line. I made sure.

[ ![Nieuwe&#95;afbeelding&#95;2&#95;2013-03-19.jpg](/forum/attachment/9230) ](/forum/attachment/9230 "...2013-03-19.jpg")

- [ ![Nieuwe&#95;afbeelding&#95;2&#95;2013-03-19.jpg](/forum/attachment/9230) ](/forum/attachment/9230 "...2013-03-19.jpg") [ ](/forum/attachment/9230?download=1 "...2013-03-19.jpg")

Last edit: 13 years 8 months ago by [Vero](/forum/user/5108-vero "View Vero's Profile").

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

- **[Eliot](/forum/user/1824-eliot "View Eliot's Profile")**
- [![Eliot's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar1824.png)](/forum/user/1824-eliot "View Eliot's Profile")
- [ Offline](/forum/user/1824-eliot)

Less More

- Posts: 2334
- Thank you received: 403
-
-

13 years 8 months ago [\#95268](#95268) by [Eliot](/forum/user/1824-eliot "View Eliot's Profile")  Replied by *[Eliot](/forum/user/1824-eliot "View Eliot's Profile")* on topic *[How can I display a short description?](/forum/4-how-to/79297-how-can-i-display-a-short-description#95268 "How can I display a short product description on category product listing pages? On the product page I have a long description. But I can't find an option for a short description. Vero")*

Hi there,

Here the right line, sorry about the first mistakes: Code:

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

The following user(s) said Thank You: [Vero](/forum/user/5108-vero "View Vero's Profile")

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

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