From de17d33a5bde24a0d553a34b8a1406de28fcd9d9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20B=C3=BCren?= Date: Wed, 9 Feb 2022 08:50:19 +0100 Subject: [PATCH] =?utf8?q?shopware6:=20Bei=20der=20Produkt-Kategorie-Zuord?= =?utf8?q?nung=20nur=20die=20Bl=C3=A4tter=20l=C3=B6schen?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/ShopConnector/Shopware6.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SL/ShopConnector/Shopware6.pm b/SL/ShopConnector/Shopware6.pm index a95107de7..9944b33d9 100644 --- a/SL/ShopConnector/Shopware6.pm +++ b/SL/ShopConnector/Shopware6.pm @@ -265,7 +265,7 @@ sub sync_all_categories { my ($product_id, $category_tree); try { $product_id = from_json($ret->responseContent())->{data}->[0]->{id}; - $category_tree = from_json($ret->responseContent())->{data}->[0]->{categoryTree}; + $category_tree = from_json($ret->responseContent())->{data}->[0]->{categoryIds}; } catch { die "Malformed JSON Data: $_ " . $ret->responseContent(); }; my $cat; # if the part is connected to a category at all -- 2.20.1