# Product description in product box is not showen

**URL:** <https://forum.shopware.com/t/product-description-in-product-box-is-not-showen/55797>\
**Category:** Programmierung\
**Tags:** customelements, shopping-worlds, datepicker\
**Created:** [17. Oktober 2018 um 13:54 UTC](https://forum.shopware.com/t/product-description-in-product-box-is-not-showen/55797 "2018-10-17T13:54:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![salashkar](https://avatars.discourse-cdn.com/v4/letter/s/c37758/32.png) [@salashkar](https://forum.shopware.com/u/salashkar)\
**Post date:** [17. Oktober 2018 um 13:54 UTC](https://forum.shopware.com/t/product-description-in-product-box-is-not-showen/55797/1 "2018-10-17T13:54:54Z")

</div>

**Hi Experts,**

**i have really strange case by my shope:**

i have 7 product categies = 7 webpages.

6 of them load the products list with 3 column product boxs with the following product&nbsp;attributes:

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;product–info  
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;1- class="product–image.  
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;2- class="product–rating-container.  
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;3- class=„product–price-info“.  
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;4-class=„product–actions“

so the product description is missing !!&nbsp;

but one of categories page load&nbsp;the products list with 2&nbsp;column product boxs with the following product&nbsp;attributes:

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;product–info  
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;1- class="product–image.  
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;2- class="product–rating-container.  
&nbsp; &nbsp; &nbsp;— \>&nbsp;&nbsp;3- class="product–description.  
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;4-class=„product–price-info“.  
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;5-class=„product–actions“

in this list the product description is shown !! and everything is okay !

&nbsp;

the source code for all categories and pages&nbsp;is the same the path of it is:

\themes\Frontend\Bare\frontend\listing\product-box\box-basic.tpl&nbsp;&nbsp;

&nbsp;

```
{namespace name="frontend/listing/box_article"}

{block name="frontend_listing_box_article"}
    

        {block name="frontend_listing_box_article_content"}
            

                {* Product box badges - highlight, newcomer, ESD product and discount *}
                {block name='frontend_listing_box_article_badges'}
                    {include file="frontend/listing/product-box/product-badges.tpl"}
                {/block}

                {block name='frontend_listing_box_article_info_container'}
                    

                        {* Product image *}
                        {block name='frontend_listing_box_article_picture'}
                            {include file="frontend/listing/product-box/product-image.tpl"}
                        {/block}

                        {* Customer rating for the product *}
                        {block name='frontend_listing_box_article_rating'}
                            {if !{config name=VoteDisable}}
                                
                                    {if $sArticle.sVoteAverage.average}
                                        {include file='frontend/_includes/rating.tpl' points=$sArticle.sVoteAverage.average type="aggregated" label=false microData=false}
                                    {/if}
                                
                            {/if}
                        {/block}

                        {* Product name *}
                        {block name='frontend_listing_box_article_name'}
                            
                                {$sArticle.articleName|truncate:50|escapeHtml}
                            
                        {/block}

                        {* Variant description *}
                        {block name='frontend_listing_box_variant_description'}
                            {if $sArticle.attributes.swagVariantConfiguration}
                                
                                    
                                        {foreach $sArticle.attributes.swagVariantConfiguration->get('value') as $group}
                                            
                                                {$group.groupName}: {$group.optionName} {if !$group@last}|{/if}
                                            
                                        {/foreach}
                                    
                                
                            {/if}
                        {/block}

                        {* Product description *}
                        {block name='frontend_listing_box_article_description'}
                            
                                {$sArticle.description_long|strip_tags|truncate:240}
                            
                        {/block}

                        {block name='frontend_listing_box_article_price_info'}
                            

                                {* Product price - Unit price *}
                                {block name='frontend_listing_box_article_unit'}
                                    {include file="frontend/listing/product-box/product-price-unit.tpl"}
                                {/block}

                                {* Product price - Default and discount price *}
                                {block name='frontend_listing_box_article_price'}
                                    {include file="frontend/listing/product-box/product-price.tpl"}
                                {/block}
                            
                        {/block}

                        {block name="frontend_listing_box_article_buy"}
                            {if {config name="displayListingBuyButton"}}
                                
                                    {if $sArticle.allowBuyInListing}
                                        {include file="frontend/listing/product-box/button-buy.tpl"}
                                    {else}
                                        {include file="frontend/listing/product-box/button-detail.tpl"}
                                    {/if}
                                
                            {/if}
                        {/block}

                        {* Product actions - Compare product, more information *}
                        {block name='frontend_listing_box_article_actions'}
                            {include file="frontend/listing/product-box/product-actions.tpl"}
                        {/block}
                    
                {/block}
            
        {/block}
    
{/block}

```

&nbsp;

&nbsp;

**So i spent 2 day to find a solution and until now i couldnt … any body can help !&nbsp;**

**Thanks in Advanced**

---

<div class="post-metadata">

**Author:** ![HendrikLegge](https://avatars.discourse-cdn.com/v4/letter/h/858c86/32.png) [@HendrikLegge](https://forum.shopware.com/u/HendrikLegge)\
**Post date:** [17. Oktober 2018 um 19:09 UTC](https://forum.shopware.com/t/product-description-in-product-box-is-not-showen/55797/2 "2018-10-17T19:09:58Z")

</div>

Hey,

did you checked the content from the variable&nbsp;sArticle.description\_long ? If not you can check if with the following code:

```
{$sArticle.description_long|@print_r} 

```

Add this codeline to your template and look what&nbsp;comes out of it. If there is no output the variable is not filled with content what means the problems is deeper in the shopware system.&nbsp;

You can also try to change the following codeline (Remove the strip\_tags or truncate function):

```
{$sArticle.description_long|strip_tags|truncate:240}

```

Is your template the default shopware template or an custom theme?

---

<div class="post-metadata">

**Author:** ![salashkar](https://avatars.discourse-cdn.com/v4/letter/s/c37758/32.png) [@salashkar](https://forum.shopware.com/u/salashkar)\
**Post date:** [19. Oktober 2018 um 07:13 UTC](https://forum.shopware.com/t/product-description-in-product-box-is-not-showen/55797/3 "2018-10-19T07:13:14Z")

</div>

**Thanks ! i have found the solution …**

i have added:

{block name=‘frontend\_listing\_box\_article\_description’}

{$sArticle.description\_long|strip\_tags|truncate:240}

in the following file:

&nbsp;\themes\Frontend\Bare\frontend\listing\product-box\box-big-image.tpl

**and now im able to see the description under the product image in the products list page.**
