# Artikel in den Warenkorb legen

**URL:** <https://forum.shopware.com/t/artikel-in-den-warenkorb-legen/54333>\
**Category:** Programmierung\
**Created:** [30. Juli 2018 um 11:34 UTC](https://forum.shopware.com/t/artikel-in-den-warenkorb-legen/54333 "2018-07-30T11:34:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![SieOtto](https://avatars.discourse-cdn.com/v4/letter/s/7bcc69/32.png) [@SieOtto](https://forum.shopware.com/u/SieOtto)\
**Post date:** [30. Juli 2018 um 11:34 UTC](https://forum.shopware.com/t/artikel-in-den-warenkorb-legen/54333/1 "2018-07-30T11:34:56Z")

</div>

Hallo liebe Community,

ich würde gerne aus einem PlugIn heraus einen Artikel in den Warenkorb legen.

Ich hab mich hier rauf aboniert:&nbsp;Enlight\_Controller\_Action\_PostDispatchSecure\_Frontend\_Checkout

und reagiere wenn man zur Kasse geht:&nbsp;if($request-\>getActionName()=== ‚confirm‘)

Jetzt würde ich hier gerne einen neuen Artikel in den Warenkorb legen.

liebe Grüße

&nbsp;

---

<div class="post-metadata">

**Author:** ![BestShopPossible](https://avatars.discourse-cdn.com/v4/letter/b/6bbea6/32.png) [@BestShopPossible](https://forum.shopware.com/u/BestShopPossible)\
**Post date:** [30. Juli 2018 um 11:46 UTC](https://forum.shopware.com/t/artikel-in-den-warenkorb-legen/54333/2 "2018-07-30T11:46:27Z")

</div>

Eingine-\>Shopware-\>Core-\>sBasket

---

<div class="post-metadata">

**Author:** ![SieOtto](https://avatars.discourse-cdn.com/v4/letter/s/7bcc69/32.png) [@SieOtto](https://forum.shopware.com/u/SieOtto)\
**Post date:** [30. Juli 2018 um 11:52 UTC](https://forum.shopware.com/t/artikel-in-den-warenkorb-legen/54333/3 "2018-07-30T11:52:27Z")

</div>

Einfach mit&nbsp;sAddArticle?

danke
