# Den Link &quot;Jetzt bestellen&quot; ausblenden

**URL:** https://forum.shopware.com/t/den-link-quot-jetzt-bestellen-quot-ausblenden/12404
**Category:** Shopware 3.5
**Tags:** themes--design
**Created:** [28. März 2013 um 12:53 UTC](https://forum.shopware.com/t/den-link-quot-jetzt-bestellen-quot-ausblenden/12404 "2013-03-28T12:53:22Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![utimkk](https://avatars.discourse-cdn.com/v4/letter/u/2acd7d/32.png) [@utimkk](https://forum.shopware.com/u/utimkk)
#### Post date: [28. März 2013 um 12:53 UTC](https://forum.shopware.com/t/den-link-quot-jetzt-bestellen-quot-ausblenden/12404/1 "2013-03-28T12:53:22Z")

</div>

Ich möchte gerne im Listing den „Jetzt Bestellen“ Button ausblenden und anstelle des Preises sollte Preis auf Anfrage stehen. Ich habe dazu den Attribut 5 (Bollean) angelegt und habe den Code wie folgt geändert nur ändert sich nichts. [code]{\* Article Price \*} {block name=‚frontend\_listing\_box\_article\_price‘}

{if $sArticle.pseudoprice} {s name=„reducedPrice“}Statt: {/s}{$sArticle.pseudoprice|currency} {s name=„Star“}\*{/s} {/if} {if $sArticle.priceStartingFrom && !$sArticle.liveshoppingData}{s name=‚ListingBoxArticleStartsAt‘}{/s} {/if} {if !$sArticle.attr5}Preis auf Anfrage{else}{$sArticle.price|currency}{/if} {s name=„Star“}\*{/s}

{/block} {block name=‚frontend\_listing\_box\_article\_actions‘}  
{block name=‚frontend\_listing\_box\_article\_actions\_buy\_now‘} {\* Buy now button \*} {if !$sArticle.sConfigurator && !$sArticle.variants && !$sArticle.sVariantArticle && !$sArticle.laststock == 1 && !($sArticle.notification == 1 && {config name=„deactivatebasketonnotification“} == 1)} {\* Den Link „Jetzt bestellen“ ausblenden \*} {if !$sArticle.attr5} [{s name=‚ListingBoxLinkBuy‘}{/s}]({url controller=‚checkout‘ action=‚addArticle‘ sAdd=$sArticle.ordernumber} „{s name=‚ListingBoxLinkBuy‘}{/s}“) {/if} {/if} {/block} {block name=‚frontend\_listing\_box\_article\_actions\_inline‘} {\* More informations button \*} {s name=‚ListingBoxLinkDetails‘}{/s} {/block}  
{if $sArticle.pseudoprice}  
%  
{/if} {/block}[/code] Hat wer einen Tip für mich Danke

---

<div class="post-metadata">

### Author: ![ErikBrinx](https://avatars.discourse-cdn.com/v4/letter/e/b5ac83/32.png) [@ErikBrinx](https://forum.shopware.com/u/ErikBrinx)
#### Post date: [28. März 2013 um 14:24 UTC](https://forum.shopware.com/t/den-link-quot-jetzt-bestellen-quot-ausblenden/12404/2 "2013-03-28T14:24:35Z")

</div>

Hallo, wenn es nur um das Listing geht, kannst Du die box\_article.tpl bearbeiten. Einfach den folgenden Block leeren ` {block name='frontend\_listing\_box\_article\_actions\_buy\_now'} {\* Buy now button \*} {if !$sArticle.sConfigurator && !$sArticle.variants && !$sArticle.sVariantArticle && !$sArticle.instock == 0 && !($sArticle.notification == 1 && {config name="deactivatebasketonnotification"} == 1)} [{s name='ListingBoxLinkBuy'}{/s}]({url controller='checkout' action='addArticle' sAdd=$sArticle.ordernumber} "{s name='ListingBoxLinkBuy'}{/s}") {/if} {/block}` ` {block name='frontend\_listing\_box\_article\_actions\_buy\_now'}{/block}` Dann verschwindet der Bestellbutton. Grüße Erik!

---

<div class="post-metadata">

### Author: ![utimkk](https://avatars.discourse-cdn.com/v4/letter/u/2acd7d/32.png) [@utimkk](https://forum.shopware.com/u/utimkk)
#### Post date: [28. März 2013 um 14:35 UTC](https://forum.shopware.com/t/den-link-quot-jetzt-bestellen-quot-ausblenden/12404/3 "2013-03-28T14:35:05Z")

</div>

Hallo Erik! Der Link soll aber nur dann ausgeblendet werden, wenn ich das über den Attribut 5 (Checkbox) für bestimmte Artikel benöttige. lg, Martin

---

<div class="post-metadata">

### Author: ![ErikBrinx](https://avatars.discourse-cdn.com/v4/letter/e/b5ac83/32.png) [@ErikBrinx](https://forum.shopware.com/u/ErikBrinx)
#### Post date: [28. März 2013 um 15:01 UTC](https://forum.shopware.com/t/den-link-quot-jetzt-bestellen-quot-ausblenden/12404/4 "2013-03-28T15:01:07Z")

</div>

Hallo Martin, wie folgt, `{block name='frontend\_listing\_box\_article\_actions\_buy\_now'} {\* Buy now button \*} {if !$sArticle.sConfigurator && !$sArticle.variants && !$sArticle.sVariantArticle && !$sArticle.instock == 0 && !($sArticle.notification == 1 && {config name="deactivatebasketonnotification"} == 1)} {if $sArticle.attr8=="true"} {else}[{s name='ListingBoxLinkBuy'}{/s}]({url controller='checkout' action='addArticle' sAdd=$sArticle.ordernumber} "{s name='ListingBoxLinkBuy'}{/s}"){/if} {/if}} {/block}` Grüße Erik!

---

<div class="post-metadata">

### Author: ![utimkk](https://avatars.discourse-cdn.com/v4/letter/u/2acd7d/32.png) [@utimkk](https://forum.shopware.com/u/utimkk)
#### Post date: [28. März 2013 um 16:04 UTC](https://forum.shopware.com/t/den-link-quot-jetzt-bestellen-quot-ausblenden/12404/5 "2013-03-28T16:04:55Z")

</div>

Danke, das wars
