# Crossselling Verständnisproblem

**URL:** <https://forum.shopware.com/t/crossselling-verstaendnisproblem/105545>\
**Category:** Shopware 6 (German)\
**Created:** [17. Oktober 2024 um 08:28 UTC](https://forum.shopware.com/t/crossselling-verstaendnisproblem/105545 "2024-10-17T08:28:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![brettvormkopp](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/brettvormkopp/32/7788_2.png) [@brettvormkopp](https://forum.shopware.com/u/brettvormkopp)\
**Post date:** [17. Oktober 2024 um 08:28 UTC](https://forum.shopware.com/t/crossselling-verstaendnisproblem/105545/1 "2024-10-17T08:28:27Z")

</div>

Wie funktioniert das Crossselling?  
Muss man für jedes Produkt einen eigenen „Wrapper“ für Cross-Selling erstellen?  
Z.B. „ähnliche Artikel“ soll der „Wrapper“ heissen. Die ähnlichen Artikel sollen dann diesem Produkt per API zugeordnet werden.  
Wäre dann die API so hier?

```auto
"crossSelling": {
  "id": "CS_ID",
  "name": "äHNLICHE_ARTIKEL",
  "type": "productList",
  "assingedProducts": [
    {
       "id": "AP_ID",
       "crossSellingId": "CS_ID",
       "productId": "ID_DES_PRODUCTS"
    }
 ]
}

```

Wäre das so richtig?

---

<div class="post-metadata">

**Author:** ![flundi81](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/flundi81/32/24725_2.png) [@flundi81](https://forum.shopware.com/u/flundi81)\
**Post date:** [17. Oktober 2024 um 08:30 UTC](https://forum.shopware.com/t/crossselling-verstaendnisproblem/105545/2 "2024-10-17T08:30:07Z")

</div>

Ich erstelle einfach eine dynamische Produktgruppe und wähle diese im Artikel dann aus.

---

<div class="post-metadata">

**Author:** ![brettvormkopp](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/brettvormkopp/32/7788_2.png) [@brettvormkopp](https://forum.shopware.com/u/brettvormkopp)\
**Post date:** [17. Oktober 2024 um 08:31 UTC](https://forum.shopware.com/t/crossselling-verstaendnisproblem/105545/3 "2024-10-17T08:31:09Z")

</div>

Die Artikel sollen nicht als dynamische Produktgruppe erstellt werden.  
Wie wäre denn dein API-Call ? @flundi81

---

<div class="post-metadata">

**Author:** ![brettvormkopp](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/brettvormkopp/32/7788_2.png) [@brettvormkopp](https://forum.shopware.com/u/brettvormkopp)\
**Post date:** [23. Oktober 2024 um 07:54 UTC](https://forum.shopware.com/t/crossselling-verstaendnisproblem/105545/4 "2024-10-23T07:54:55Z")

</div>

Ja so funktioniert es:

```auto
"crossSelling": {
  "id": "CS_ID",
  "name": "äHNLICHE_ARTIKEL",
  "type": "productList",
  "active": true,
  "assingedProducts": [
    {
       "id": "AP_ID", 
       "crossSellingId": "CS_ID",
       "productId": "ID_DES_AP_PRODUCTS"
    },
   {
       "id": "AP_ID_2", 
       "crossSellingId": "CS_ID",
       "productId": "ID_DES_AP_PRODUCTS_2"
    }
 ]
}

```

**CS\_ID** : je CrossSelling und Produkt einmalig  
**AP\_ID** : je Assigned Produkt und Produkt/CrossSelling Combo einmalig
