Shopware6: Artikelnummer Shopware auch als Art.-Nr. kivi speichern
authorJan Büren <jan@kivitendo.de>
Wed, 8 Dec 2021 10:24:14 +0000 (11:24 +0100)
committerJan Büren <jan@kivitendo.de>
Fri, 11 Feb 2022 14:19:56 +0000 (15:19 +0100)
SL/ShopConnector/Shopware6.pm

index 2704a6d..01e3ab4 100644 (file)
@@ -706,7 +706,7 @@ sub import_data_to_shop_order {
       $position++;
       my $price       = $::form->round_amount($pos->{unitPrice}, 2); # unit
       my %pos_columns = ( description          => $pos->{product}->{description},
-                          partnumber           => $pos->{label},
+                          partnumber           => $pos->{product}->{productNumber},
                           price                => $price,
                           quantity             => $pos->{quantity},
                           position             => $position,