# Weitere Artikel in dieser Kategorie (Einkaufswelt)

**URL:** <https://forum.shopware.com/t/weitere-artikel-in-dieser-kategorie-einkaufswelt/39598>\
**Category:** Programmierung\
**Created:** [6. September 2016 um 09:54 UTC](https://forum.shopware.com/t/weitere-artikel-in-dieser-kategorie-einkaufswelt/39598 "2016-09-06T09:54:37Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![shopwarius](https://avatars.discourse-cdn.com/v4/letter/s/8edcca/32.png) [@shopwarius](https://forum.shopware.com/u/shopwarius)\
**Post date:** [6. September 2016 um 09:54 UTC](https://forum.shopware.com/t/weitere-artikel-in-dieser-kategorie-einkaufswelt/39598/1 "2016-09-06T09:54:37Z")

</div>

Servus,

Ich möchte gerne den Link bzw. Button “Weitere Artikel in dieser Kategorie” in&nbsp;der Einkaufswelt ausblenden, aber nur dann, wenn sich in der entsprechenden Kategorie “KEIN” Artikel befindet.

Also generell ausblenden wie hier, möchte ich nicht:

```
{extends file='parent:frontend/listing/listing.tpl'}
{block name="frontend_listing_list_promotion_link_show_listing"}{/block}

```

Ich habe eher an so etwas gedacht, es funktioniert aber nicht - gibts da eine Variable, die die Anzahl der Artikel ausgibt? Also wenn Artikel in der Kategorie vorhanden sind, soll der Block angezeigt werden, wenn nicht, dann nicht…

```
{extends file='parent:frontend/listing/listing.tpl'}

{block name="frontend_listing_list_promotion_link_show_listing"}

{if $sCategoryContent.articleCount > 0}

    
        {s name="ListingActionsOffersLink"}Weitere Artikel in dieser Kategorie »{/s}
    

{/if}

{/block}

```

Vielleicht habt ihr eine Idee…

---

<div class="post-metadata">

**Author:** ![Philipp\_Schuch](https://avatars.discourse-cdn.com/v4/letter/p/8797f3/32.png) [@Philipp\_Schuch](https://forum.shopware.com/u/Philipp_Schuch)\
**Post date:** [6. September 2016 um 18:36 UTC](https://forum.shopware.com/t/weitere-artikel-in-dieser-kategorie-einkaufswelt/39598/2 "2016-09-06T18:36:58Z")

</div>

Hallo,

müsste eigentlich so gehen:

```
{if $sArticles|count > 0}
    {$smarty.block.parent}
{/if}

```

Sonnige Grüße,  
Phil

---

<div class="post-metadata">

**Author:** ![shopwarius](https://avatars.discourse-cdn.com/v4/letter/s/8edcca/32.png) [@shopwarius](https://forum.shopware.com/u/shopwarius)\
**Post date:** [6. September 2016 um 20:49 UTC](https://forum.shopware.com/t/weitere-artikel-in-dieser-kategorie-einkaufswelt/39598/3 "2016-09-06T20:49:26Z")

</div>

Vielen lieben Dank! Ich hab mich schon krumm gesucht 🙂

Funktioniert perfekt und ist so einfach… vielleicht wollt ihr das ja in einer zukünftigen Version einbauen?

lg Christian

---

<div class="post-metadata">

**Author:** ![shopwarius](https://avatars.discourse-cdn.com/v4/letter/s/8edcca/32.png) [@shopwarius](https://forum.shopware.com/u/shopwarius)\
**Post date:** [6. September 2016 um 21:12 UTC](https://forum.shopware.com/t/weitere-artikel-in-dieser-kategorie-einkaufswelt/39598/4 "2016-09-06T21:12:30Z")

</div>

> [@Philipp Schuch schrieb:](https://forum.shopware.com/profile/13283/Philipp%20Schuch "Philipp%20Schuch")
> 
> Hallo,
> 
> müsste eigentlich so gehen:
> 
> {if $sArticles|count \> 0}  
> {$smarty.block.parent}  
> {/if}
> 
> Sonnige Grüße,  
> Phil
> 
> &nbsp;

Noch eine Frage zum intelligentem&nbsp;Ausblenden von Blöcken…

Ich möchte auch die Breadcrumbs ausblenden, wenn es nur Hauptkategorien und keine Untergategorien gibt. Ist dies eventuell auch mit einer Variable wie bei den Artikeln machbar?

lg aus Wien

---

<div class="post-metadata">

**Author:** ![weater](https://avatars.discourse-cdn.com/v4/letter/w/ad7895/32.png) [@weater](https://forum.shopware.com/u/weater)\
**Post date:** [31. März 2017 um 11:56 UTC](https://forum.shopware.com/t/weitere-artikel-in-dieser-kategorie-einkaufswelt/39598/5 "2017-03-31T11:56:14Z")

</div>

Super Genau das Suche ich… ![Thumb-Up](https://forum.shopware.com/plugins/CKEditor/plugins/smiley/images/thumb-up.png "Thumb-Up")

Wo hast das eingefügt ? Danke Dir vielmals für ein Feedback

Grüsse Chrigi
