Revision de17d33a
Von Jan Büren vor fast 3 Jahren hinzugefügt
SL/ShopConnector/Shopware6.pm | ||
---|---|---|
265 | 265 |
my ($product_id, $category_tree); |
266 | 266 |
try { |
267 | 267 |
$product_id = from_json($ret->responseContent())->{data}->[0]->{id}; |
268 |
$category_tree = from_json($ret->responseContent())->{data}->[0]->{categoryTree};
|
|
268 |
$category_tree = from_json($ret->responseContent())->{data}->[0]->{categoryIds};
|
|
269 | 269 |
} catch { die "Malformed JSON Data: $_ " . $ret->responseContent(); }; |
270 | 270 |
my $cat; |
271 | 271 |
# if the part is connected to a category at all |
Auch abrufbar als: Unified diff
shopware6: Bei der Produkt-Kategorie-Zuordnung nur die Blätter löschen