# Button Warenkorb / Detail

**URL:** <https://forum.shopware.com/t/button-warenkorb-detail/87470>\
**Category:** Allgemein\
**Created:** [7. Mai 2021 um 05:05 UTC](https://forum.shopware.com/t/button-warenkorb-detail/87470 "2021-05-07T05:05:14Z")\
**Posts on this page:** 1\
**Showing post:** 18

<div class="post-metadata">

**Author:** ![Klimax](https://avatars.discourse-cdn.com/v4/letter/k/848f3c/32.png) [@Klimax](https://forum.shopware.com/u/Klimax)\
**Post date:** [9. Juni 2021 um 05:56 UTC](https://forum.shopware.com/t/button-warenkorb-detail/87470/18 "2021-06-09T05:56:41Z")

</div>

Hallo,  
in der Version 6.4.1 wurde das Template etwas angepasst, das Problem wurde jedoch nicht behoben.

_vendor / shopware / storefront / Resources / views / storefront / component / product / card / action.html.twig_ Zeile 8:

```auto
{% if displayBuyButton and config('core.listing.allowBuyInListing') %}

```

wie folgt erweitern:

```auto
{% if displayBuyButton and config('core.listing.allowBuyInListing') and product.variation == false %}

```

dann wird der „Detail“-Button richtig angezeigt. Danke an @tra für die Lösung!

---

_[View the full topic](https://forum.shopware.com/t/button-warenkorb-detail/87470)._
