# Bildimport via CSV und Varianten-Zuordnung

**URL:** <https://forum.shopware.com/t/bildimport-via-csv-und-varianten-zuordnung/11481>\
**Category:** Shopware 3.5\
**Tags:** administration\
**Created:** [8. Februar 2013 um 12:32 UTC](https://forum.shopware.com/t/bildimport-via-csv-und-varianten-zuordnung/11481 "2013-02-08T12:32:43Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mirko](https://avatars.discourse-cdn.com/v4/letter/m/bc79bd/32.png) [@Mirko](https://forum.shopware.com/u/Mirko)\
**Post date:** [8. Februar 2013 um 12:32 UTC](https://forum.shopware.com/t/bildimport-via-csv-und-varianten-zuordnung/11481/1 "2013-02-08T12:32:43Z")

</div>

Bei meinen Versuchen zuvor via CSV importierte Artikel mit einem CSV-Bildimport zu bebildern, bin ich auf folgende Probleme gestoßen. 1. Wie schon [hier](http://forum.shopware.de/administration-f55/artikelbilder-werden-durch-csv-import-mehrfach-angelegt-t8681-20.html#p54204) erwähnt, werden gleiche Bilder doppelt angelegt, obwohl dies nicht nötig wäre. 2. Wenn ich einen Varianten-Artikel über den CSV-Bildimport mit Bildern versehe macht shopware das zwar, allerdings werden Einträge ohne “relation”-Eintrag mit dem jeweils vorausgegangenem Wert versehen. ` ordernumber;image;main;description;position;width;height;relations 1234;shopurl/media/image/artikel1\_gallery01.jpg;1;;1;;; 1234;shopurl/media/image/artikel1\_gallery02.jpg;2;;2;;; 1234;shopurl/media/image/artikel1\_gallery03.jpg;2;;3;;;&{1234-Group:silber} 1234;shopurl/media/image/artikel1\_gallery04.jpg;2;;4;;;&{1234-Group:schwarz} 1234;shopurl/media/image/artikel1\_gallery05.jpg;2;;5;;; 1234;shopurl/media/image/artikel1\_gallery06.jpg;2;;6;;; ` Hier erhalten dann “artikel1\_gallery05.jpg” und “artikel1\_gallery06.jpg” ebenfalls die Zuordnung “schwarz”.

---

<div class="post-metadata">

**Author:** ![SebastianKloepper](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/sebastiankloepper/32/21435_2.png) [@SebastianKloepper](https://forum.shopware.com/u/SebastianKloepper)\
**Post date:** [8. Februar 2013 um 12:50 UTC](https://forum.shopware.com/t/bildimport-via-csv-und-varianten-zuordnung/11481/2 "2013-02-08T12:50:06Z")

</div>

Hallo Mirko, zu Punkt 1) Siehe bitte hier: [post54371.html#p54371](http://forum.shopware.de/post54371.html#p54371) zu Punkt 2) Kannst du das genauer beschreiben? Also werden die Zuordnungen der vorherigen Zeile vererbt und die Bilder dann einer Variante zugewiesen? Danke Sebastian

---

<div class="post-metadata">

**Author:** ![Mirko](https://avatars.discourse-cdn.com/v4/letter/m/bc79bd/32.png) [@Mirko](https://forum.shopware.com/u/Mirko)\
**Post date:** [8. Februar 2013 um 13:22 UTC](https://forum.shopware.com/t/bildimport-via-csv-und-varianten-zuordnung/11481/3 "2013-02-08T13:22:00Z")

</div>

Genau, Die Zuordnung aus der vorigen Zeile wird vererbt, wenn „relation“ frei ist. Ich habe in dem folgenden Beispiel die Vererbungen markiert, die eigentlich frei sein sollten. [code] ordernumber;image;main;description;position;width;height;relations 1234;shopurl/media/image/artikel1\_gallery01.jpg;1;;1;;; 1234;shopurl/media/image/artikel1\_gallery02.jpg;2;;2;;; 1234;shopurl/media/image/artikel1\_gallery03.jpg;2;;3;;;&{1234-Group:silber} 1234;shopurl/media/image/artikel1\_gallery04.jpg;2;;4;;;&{1234-Group:schwarz} 1234;shopurl/media/image/artikel1\_gallery05.jpg;2;;5;;;&{1234-Group:schwarz}

---

<div class="post-metadata">

**Author:** ![Mirko](https://avatars.discourse-cdn.com/v4/letter/m/bc79bd/32.png) [@Mirko](https://forum.shopware.com/u/Mirko)\
**Post date:** [21. Februar 2013 um 16:33 UTC](https://forum.shopware.com/t/bildimport-via-csv-und-varianten-zuordnung/11481/4 "2013-02-21T16:33:35Z")

</div>

Gibt’s hier schon etwas Neues?
