]> wagnertech.de Git - mfinanz.git/blobdiff - SL/ShopConnector/Shopware6.pm
shopware6: Bei der Produkt-Kategorie-Zuordnung nur die Blätter löschen
[mfinanz.git] / 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