{"id":1400,"date":"2016-12-05T00:16:49","date_gmt":"2016-12-04T23:16:49","guid":{"rendered":"https:\/\/vielhuber.de\/?p=1400"},"modified":"2017-09-21T23:32:32","modified_gmt":"2017-09-21T21:32:32","slug":"shopware-variantenwechsel-reparieren","status":"publish","type":"post","link":"https:\/\/vielhuber.de\/blog\/shopware-variantenwechsel-reparieren\/","title":{"rendered":"Shopware: Variantenwechsel reparieren"},"content":{"rendered":"<p>In Shopware 5 ist nach wie vor ein bekanntes Problem nicht behoben: Legt man einen Artikel mit voneinander abh\u00e4ngigen Varianten mit sich gegenseitig ausschlie\u00dfenden Konfigurationsm\u00f6glichkeiten an, kann es passieren, dass im Frontend manche\u00a0Kombinationen nicht anw\u00e4hlbar und damit nicht bestellbar sind. Mit Hilfe eines Plugins l\u00e4sst sich das Problem momentan leicht beheben.<\/p>\n<p><!--more--><\/p>\n<p>Folgendes einfaches Beispiel illustriert dies: Der folgende Beispielartikel hat die Variantengruppen \"Flaschengr\u00f6\u00dfe\" (0,5L, 1L, 5L) und \"Breite\" (30cm, 60cm, 12mm), wobei von den 9 m\u00f6glichen Kombinationen nur die folgenden 6 vorhanden\u00a0sind:<\/p>\n<p><img decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/vielhuber.de\/wp-content\/uploads\/944.png\" alt=\"Shopware: Variantenwechsel reparieren\" \/><\/p>\n<p>Im Frontend bekommt man nun zwar korrekt die\u00a0Standardkonfiguration angezeigt:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"502\" height=\"422\" class=\"size-full wp-image-1411 aligncenter\" src=\"https:\/\/vielhuber.de\/wp-content\/uploads\/shopware-disable-variant.gif\" alt=\"Shopware: Variantenwechsel reparieren\" \/><\/p>\n<p>\u00c4ndert man nun die Flaschengr\u00f6\u00dfe auf 1L, springt Shopware erneut zur\u00fcck auf die Standardvariante (da die Kombination 1L und 30cm nicht existiert). Folgendes kleines Plugin, das ich im Shopware Community Store ver\u00f6ffentlicht habe, l\u00f6st das Problem: <a href=\"http:\/\/store.shopware.com\/vielh42162583814\/variantenwechsel-reparieren.html\" target=\"_blank\">Variantenwechsel reparieren<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In Shopware 5 ist nach wie vor ein bekanntes Problem nicht behoben: Legt man einen Artikel mit voneinander abh\u00e4ngigen Varianten mit sich gegenseitig ausschlie\u00dfenden Konfigurationsm\u00f6glichkeiten an, kann es passieren, dass im Frontend manche\u00a0Kombinationen nicht anw\u00e4hlbar und damit nicht bestellbar sind. Mit Hilfe eines Plugins l\u00e4sst sich das Problem momentan leicht beheben.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"gtbabel_prevent_lngs":"","gtbabel_alt_lng":"","footnotes":""},"categories":[1],"tags":[],"class_list":{"0":"post-1400","1":"post","2":"type-post","3":"status-publish","4":"format-standard","6":"category-blog"},"acf":[],"yoast_head":"<title>Shopware: Variantenwechsel reparieren &#060; Vielhuber David<\/title>\n<meta name=\"description\" content=\"In Shopware 5 ist nach wie vor ein bekanntes Problem nicht behoben: Legt man einen Artikel mit voneinander abh\u00e4ngigen Varianten mit sich gegenseitig\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/vielhuber.de\/blog\/shopware-variantenwechsel-reparieren\/\" \/>\n<meta property=\"og:locale\" content=\"de_DE\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Shopware: Variantenwechsel reparieren &#060; Vielhuber David\" \/>\n<meta property=\"og:description\" content=\"In Shopware 5 ist nach wie vor ein bekanntes Problem nicht behoben: Legt man einen Artikel mit voneinander abh\u00e4ngigen Varianten mit sich gegenseitig\" \/>\n<meta property=\"og:url\" content=\"https:\/\/vielhuber.de\/blog\/shopware-variantenwechsel-reparieren\/\" \/>\n<meta property=\"og:site_name\" content=\"Vielhuber David\" \/>\n<meta property=\"article:published_time\" content=\"2016-12-04T23:16:49+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2017-09-21T21:32:32+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/vielhuber.de\/wp-content\/uploads\/944.png\" \/>\n<meta name=\"author\" content=\"David\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@vielhuber\" \/>\n<meta name=\"twitter:site\" content=\"@vielhuber\" \/>\n<meta name=\"twitter:label1\" content=\"Verfasst von\" \/>\n\t<meta name=\"twitter:data1\" content=\"David\" \/>\n\t<meta name=\"twitter:label2\" content=\"Gesch\u00e4tzte Lesezeit\" \/>\n\t<meta name=\"twitter:data2\" content=\"1\u00a0Minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/vielhuber.de\\\/blog\\\/shopware-variantenwechsel-reparieren\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/vielhuber.de\\\/blog\\\/shopware-variantenwechsel-reparieren\\\/\"},\"author\":{\"name\":\"David\",\"@id\":\"https:\\\/\\\/vielhuber.de\\\/#\\\/schema\\\/person\\\/64d4ff14713d413ea4d9b210d0c2c6ef\"},\"headline\":\"Shopware: Variantenwechsel reparieren\",\"datePublished\":\"2016-12-04T23:16:49+00:00\",\"dateModified\":\"2017-09-21T21:32:32+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/vielhuber.de\\\/blog\\\/shopware-variantenwechsel-reparieren\\\/\"},\"wordCount\":143,\"publisher\":{\"@id\":\"https:\\\/\\\/vielhuber.de\\\/#\\\/schema\\\/person\\\/64d4ff14713d413ea4d9b210d0c2c6ef\"},\"image\":{\"@id\":\"https:\\\/\\\/vielhuber.de\\\/blog\\\/shopware-variantenwechsel-reparieren\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/vielhuber.de\\\/wp-content\\\/uploads\\\/944.png\",\"articleSection\":[\"Blog\"],\"inLanguage\":\"de\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/vielhuber.de\\\/blog\\\/shopware-variantenwechsel-reparieren\\\/\",\"url\":\"https:\\\/\\\/vielhuber.de\\\/blog\\\/shopware-variantenwechsel-reparieren\\\/\",\"name\":\"Shopware: Variantenwechsel reparieren &#060; Vielhuber David\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/vielhuber.de\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/vielhuber.de\\\/blog\\\/shopware-variantenwechsel-reparieren\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/vielhuber.de\\\/blog\\\/shopware-variantenwechsel-reparieren\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/vielhuber.de\\\/wp-content\\\/uploads\\\/944.png\",\"datePublished\":\"2016-12-04T23:16:49+00:00\",\"dateModified\":\"2017-09-21T21:32:32+00:00\",\"description\":\"In Shopware 5 ist nach wie vor ein bekanntes Problem nicht behoben: Legt man einen Artikel mit voneinander abh\u00e4ngigen Varianten mit sich gegenseitig\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/vielhuber.de\\\/blog\\\/shopware-variantenwechsel-reparieren\\\/#breadcrumb\"},\"inLanguage\":\"de\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/vielhuber.de\\\/blog\\\/shopware-variantenwechsel-reparieren\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"de\",\"@id\":\"https:\\\/\\\/vielhuber.de\\\/blog\\\/shopware-variantenwechsel-reparieren\\\/#primaryimage\",\"url\":\"https:\\\/\\\/vielhuber.de\\\/wp-content\\\/uploads\\\/944.png\",\"contentUrl\":\"https:\\\/\\\/vielhuber.de\\\/wp-content\\\/uploads\\\/944.png\",\"width\":549,\"height\":160},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/vielhuber.de\\\/blog\\\/shopware-variantenwechsel-reparieren\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/vielhuber.de\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Shopware: Variantenwechsel reparieren\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/vielhuber.de\\\/#website\",\"url\":\"https:\\\/\\\/vielhuber.de\\\/\",\"name\":\"Vielhuber David\",\"description\":\"Full-Stack Developer\",\"publisher\":{\"@id\":\"https:\\\/\\\/vielhuber.de\\\/#\\\/schema\\\/person\\\/64d4ff14713d413ea4d9b210d0c2c6ef\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/vielhuber.de\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"de\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/vielhuber.de\\\/#\\\/schema\\\/person\\\/64d4ff14713d413ea4d9b210d0c2c6ef\",\"name\":\"David\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"de\",\"@id\":\"https:\\\/\\\/vielhuber.de\\\/wp-content\\\/uploads\\\/about.jpg\",\"url\":\"https:\\\/\\\/vielhuber.de\\\/wp-content\\\/uploads\\\/about.jpg\",\"contentUrl\":\"https:\\\/\\\/vielhuber.de\\\/wp-content\\\/uploads\\\/about.jpg\",\"width\":700,\"height\":552,\"caption\":\"David\"},\"logo\":{\"@id\":\"https:\\\/\\\/vielhuber.de\\\/wp-content\\\/uploads\\\/about.jpg\"},\"sameAs\":[\"https:\\\/\\\/x.com\\\/vielhuber\"]}]}<\/script>","yoast_head_json":{"title":"Shopware: Variantenwechsel reparieren &#060; Vielhuber David","description":"In Shopware 5 ist nach wie vor ein bekanntes Problem nicht behoben: Legt man einen Artikel mit voneinander abh\u00e4ngigen Varianten mit sich gegenseitig","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/vielhuber.de\/blog\/shopware-variantenwechsel-reparieren\/","og_locale":"de_DE","og_type":"article","og_title":"Shopware: Variantenwechsel reparieren &#060; Vielhuber David","og_description":"In Shopware 5 ist nach wie vor ein bekanntes Problem nicht behoben: Legt man einen Artikel mit voneinander abh\u00e4ngigen Varianten mit sich gegenseitig","og_url":"https:\/\/vielhuber.de\/blog\/shopware-variantenwechsel-reparieren\/","og_site_name":"Vielhuber David","article_published_time":"2016-12-04T23:16:49+00:00","article_modified_time":"2017-09-21T21:32:32+00:00","og_image":[{"url":"https:\/\/vielhuber.de\/wp-content\/uploads\/944.png","type":"","width":"","height":""}],"author":"David","twitter_card":"summary_large_image","twitter_creator":"@vielhuber","twitter_site":"@vielhuber","twitter_misc":{"Verfasst von":"David","Gesch\u00e4tzte Lesezeit":"1\u00a0Minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/vielhuber.de\/blog\/shopware-variantenwechsel-reparieren\/#article","isPartOf":{"@id":"https:\/\/vielhuber.de\/blog\/shopware-variantenwechsel-reparieren\/"},"author":{"name":"David","@id":"https:\/\/vielhuber.de\/#\/schema\/person\/64d4ff14713d413ea4d9b210d0c2c6ef"},"headline":"Shopware: Variantenwechsel reparieren","datePublished":"2016-12-04T23:16:49+00:00","dateModified":"2017-09-21T21:32:32+00:00","mainEntityOfPage":{"@id":"https:\/\/vielhuber.de\/blog\/shopware-variantenwechsel-reparieren\/"},"wordCount":143,"publisher":{"@id":"https:\/\/vielhuber.de\/#\/schema\/person\/64d4ff14713d413ea4d9b210d0c2c6ef"},"image":{"@id":"https:\/\/vielhuber.de\/blog\/shopware-variantenwechsel-reparieren\/#primaryimage"},"thumbnailUrl":"https:\/\/vielhuber.de\/wp-content\/uploads\/944.png","articleSection":["Blog"],"inLanguage":"de"},{"@type":"WebPage","@id":"https:\/\/vielhuber.de\/blog\/shopware-variantenwechsel-reparieren\/","url":"https:\/\/vielhuber.de\/blog\/shopware-variantenwechsel-reparieren\/","name":"Shopware: Variantenwechsel reparieren &#060; Vielhuber David","isPartOf":{"@id":"https:\/\/vielhuber.de\/#website"},"primaryImageOfPage":{"@id":"https:\/\/vielhuber.de\/blog\/shopware-variantenwechsel-reparieren\/#primaryimage"},"image":{"@id":"https:\/\/vielhuber.de\/blog\/shopware-variantenwechsel-reparieren\/#primaryimage"},"thumbnailUrl":"https:\/\/vielhuber.de\/wp-content\/uploads\/944.png","datePublished":"2016-12-04T23:16:49+00:00","dateModified":"2017-09-21T21:32:32+00:00","description":"In Shopware 5 ist nach wie vor ein bekanntes Problem nicht behoben: Legt man einen Artikel mit voneinander abh\u00e4ngigen Varianten mit sich gegenseitig","breadcrumb":{"@id":"https:\/\/vielhuber.de\/blog\/shopware-variantenwechsel-reparieren\/#breadcrumb"},"inLanguage":"de","potentialAction":[{"@type":"ReadAction","target":["https:\/\/vielhuber.de\/blog\/shopware-variantenwechsel-reparieren\/"]}]},{"@type":"ImageObject","inLanguage":"de","@id":"https:\/\/vielhuber.de\/blog\/shopware-variantenwechsel-reparieren\/#primaryimage","url":"https:\/\/vielhuber.de\/wp-content\/uploads\/944.png","contentUrl":"https:\/\/vielhuber.de\/wp-content\/uploads\/944.png","width":549,"height":160},{"@type":"BreadcrumbList","@id":"https:\/\/vielhuber.de\/blog\/shopware-variantenwechsel-reparieren\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/vielhuber.de\/"},{"@type":"ListItem","position":2,"name":"Shopware: Variantenwechsel reparieren"}]},{"@type":"WebSite","@id":"https:\/\/vielhuber.de\/#website","url":"https:\/\/vielhuber.de\/","name":"Vielhuber David","description":"Full-Stack Developer","publisher":{"@id":"https:\/\/vielhuber.de\/#\/schema\/person\/64d4ff14713d413ea4d9b210d0c2c6ef"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/vielhuber.de\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"de"},{"@type":["Person","Organization"],"@id":"https:\/\/vielhuber.de\/#\/schema\/person\/64d4ff14713d413ea4d9b210d0c2c6ef","name":"David","image":{"@type":"ImageObject","inLanguage":"de","@id":"https:\/\/vielhuber.de\/wp-content\/uploads\/about.jpg","url":"https:\/\/vielhuber.de\/wp-content\/uploads\/about.jpg","contentUrl":"https:\/\/vielhuber.de\/wp-content\/uploads\/about.jpg","width":700,"height":552,"caption":"David"},"logo":{"@id":"https:\/\/vielhuber.de\/wp-content\/uploads\/about.jpg"},"sameAs":["https:\/\/x.com\/vielhuber"]}]}},"_links":{"self":[{"href":"https:\/\/vielhuber.de\/zh-cn\/wp-json\/wp\/v2\/posts\/1400","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vielhuber.de\/zh-cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vielhuber.de\/zh-cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vielhuber.de\/zh-cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/vielhuber.de\/zh-cn\/wp-json\/wp\/v2\/comments?post=1400"}],"version-history":[{"count":12,"href":"https:\/\/vielhuber.de\/zh-cn\/wp-json\/wp\/v2\/posts\/1400\/revisions"}],"predecessor-version":[{"id":1717,"href":"https:\/\/vielhuber.de\/zh-cn\/wp-json\/wp\/v2\/posts\/1400\/revisions\/1717"}],"wp:attachment":[{"href":"https:\/\/vielhuber.de\/zh-cn\/wp-json\/wp\/v2\/media?parent=1400"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vielhuber.de\/zh-cn\/wp-json\/wp\/v2\/categories?post=1400"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vielhuber.de\/zh-cn\/wp-json\/wp\/v2\/tags?post=1400"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}