# Tab Reiter ausblenden wenn kein Inhalt vorhanden ist

**URL:** <https://forum.shopware.com/t/tab-reiter-ausblenden-wenn-kein-inhalt-vorhanden-ist/48127>\
**Category:** Programmierung\
**Created:** [7. September 2017 um 16:29 UTC](https://forum.shopware.com/t/tab-reiter-ausblenden-wenn-kein-inhalt-vorhanden-ist/48127 "2017-09-07T16:29:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![shopgirl68](https://avatars.discourse-cdn.com/v4/letter/s/7c8e57/32.png) [@shopgirl68](https://forum.shopware.com/u/shopgirl68)\
**Post date:** [7. September 2017 um 16:29 UTC](https://forum.shopware.com/t/tab-reiter-ausblenden-wenn-kein-inhalt-vorhanden-ist/48127/1 "2017-09-07T16:29:40Z")

</div>

Hallo Leute,  
ich möchte gerne eine Registerkarte ausblenden, wenn diese keinen Inhalt im Artikelstamm(Backend) besitzt.  
Irgendwie komme ich nicht weiter, weiß jemand Rat?

ich wäre wirklich froh wenn jemand mal ein Auge drauf legen könnte.&nbsp; ![Foot-in-Mouth](https://forum.shopware.com/plugins/CKEditor/plugins/smiley/images/foot-in-mouth.png "Foot-in-Mouth")

Der Code schaut so aus:

{extends file=„parent:frontend/detail/tabs.tpl“}

{\* New tab \*}

{block name=„frontend\_detail\_tabs\_description“ append}

{s namespace=„frontend/detail“ name=’ **NewTabsDescription** ’}{/s}

{/block}

{\* New Tab container \*}

{block name=„frontend\_detail\_tabs\_content\_description“ append}

{s namespace=„frontend/detail“ name=’ **NewTabsDescription** ’}{/s}

{$sArticle.attr4|strip\_tags|truncate:100: ‚…‘}{s name=„PreviewTextMore“}{/s}

{include file=„frontend/detail/tabs/custom\_tabs.tpl“}

{/block}

&nbsp;

lg. Ilona&nbsp;
