]> wagnertech.de Git - kivitendo-erp.git/commitdiff
shopware6: Bei der Produkt-Kategorie-Zuordnung nur die Blätter löschen
authorJan Büren <jan@kivitendo.de>
Wed, 9 Feb 2022 07:50:19 +0000 (08:50 +0100)
committerJan Büren <jan@kivitendo.de>
Fri, 11 Feb 2022 14:19:57 +0000 (15:19 +0100)
SL/ShopConnector/Shopware6.pm

index a95107de72637a633ffaf513b597c3e3f3426789..9944b33d9bb84021629af160b1476cf904b7dcc7 100644 (file)
@@ -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