projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e790c22
)
shopware6: Bei der Produkt-Kategorie-Zuordnung nur die Blätter löschen
author
Jan Büren
<jan@kivitendo.de>
Wed, 9 Feb 2022 07:50:19 +0000
(08:50 +0100)
committer
Jan Büren
<jan@kivitendo.de>
Fri, 11 Feb 2022 14:19:57 +0000
(15:19 +0100)
SL/ShopConnector/Shopware6.pm
patch
|
blob
|
history
diff --git
a/SL/ShopConnector/Shopware6.pm
b/SL/ShopConnector/Shopware6.pm
index
a95107d
..
9944b33
100644
(file)
--- 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]->{category
Tree
};
+ $category_tree = from_json($ret->responseContent())->{data}->[0]->{category
Ids
};
} catch { die "Malformed JSON Data: $_ " . $ret->responseContent(); };
my $cat;
# if the part is connected to a category at all