# smarty block innerhalb if entfernen

**URL:** <https://forum.shopware.com/t/smarty-block-innerhalb-if-entfernen/33520>\
**Category:** Themes & Design\
**Created:** [12. Januar 2016 um 10:51 UTC](https://forum.shopware.com/t/smarty-block-innerhalb-if-entfernen/33520 "2016-01-12T10:51:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![wontfix](https://avatars.discourse-cdn.com/v4/letter/w/b19c9b/32.png) [@wontfix](https://forum.shopware.com/u/wontfix)\
**Post date:** [12. Januar 2016 um 10:51 UTC](https://forum.shopware.com/t/smarty-block-innerhalb-if-entfernen/33520/1 "2016-01-12T10:51:42Z")

</div>

wie können wir blöcke innerhalb if blöcke update sicher entfernen? worst-case: shopware ticket/pull-request um vor denn gewünschten „if“ block noch ein {block} zu addieren? :wtf: ich möchte das block frontend\_checkout\_actions\_inquiry [https://github.com/shopware/shopware/bl … t.tpl#L162](https://github.com/shopware/shopware/blob/5.1/themes/Frontend/Bare/frontend/checkout/cart.tpl#L162) von unserem theme aus entfernen, also hab ich in unserem theme folgende datei addiert: frontend/checkout/cart.tpl ` {extends file="parent:frontend/checkout/cart.tpl"} {block name="frontend\_checkout\_actions\_inquiry"}{/block} ` aber leider entfernt diese nicht denn block, weil anscheinend in smarty \<3.2 kann man keine blöcke innerhalb „if“ blöcken entfernen… [http://www.smarty.net/forums/viewtopic. … 61078dafd5](http://www.smarty.net/forums/viewtopic.php?p=82074&sid=454948e2c62f1df9083c7661078dafd5) und anscheinend auch nach 4 jahren ist smarty 3.2 immer noch nicht fertig [https://github.com/smarty-php/smarty/releases](https://github.com/smarty-php/smarty/releases)

---

<div class="post-metadata">

**Author:** ![wontfix](https://avatars.discourse-cdn.com/v4/letter/w/b19c9b/32.png) [@wontfix](https://forum.shopware.com/u/wontfix)\
**Post date:** [12. Januar 2016 um 11:06 UTC](https://forum.shopware.com/t/smarty-block-innerhalb-if-entfernen/33520/2 "2016-01-12T11:06:35Z")

</div>

ARGH! bitte ignorieren, wir hatten noch ne lustige plugin der diesen block nochmal addiert, grrr… also funktioniert anscheinend blöcke entfernen innerhalb if blöcke auch in smarty 3.1.8
