From 6e47b4668e7370af7f531af123a16581f4880079 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20B=C3=BCren?= Date: Wed, 9 Feb 2022 12:44:18 +0100 Subject: [PATCH] Shopware6: shopware.name entspricht kivitendo.description Etwas verwirrend, denn shopware.description ist kivi.longdescription --- SL/ShopConnector/Shopware6.pm | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/SL/ShopConnector/Shopware6.pm b/SL/ShopConnector/Shopware6.pm index bd5432914..79a709c71 100644 --- a/SL/ShopConnector/Shopware6.pm +++ b/SL/ShopConnector/Shopware6.pm @@ -763,7 +763,7 @@ sub import_data_to_shop_order { foreach my $pos (@positions) { $position++; my $price = $::form->round_amount($pos->{unitPrice}, 2); # unit - my %pos_columns = ( description => $pos->{product}->{description}, + my %pos_columns = ( description => $pos->{product}->{name}, partnumber => $pos->{product}->{productNumber}, price => $price, quantity => $pos->{quantity}, @@ -967,15 +967,13 @@ Updates all metadata for a shop part. See base class for a general description. Specific Implementation notes: =over 4 -=item * Calls sync_all_images with set_cover = 1 and delete_orphaned = 1 +=item Calls sync_all_images with set_cover = 1 and delete_orphaned = 1 -=item * Checks if longdescription should be taken from part or shop_part +=item Checks if longdescription should be taken from part or shop_part -=item * Checks if a language with the name 'Englisch' or template_code 'en' +=item Checks if a language with the name 'Englisch' or template_code 'en' is available and sets the shopware6 'en-GB' locales for the product -=back - =item C The connecting key for shopware to kivi images is the image name. @@ -993,6 +991,9 @@ entry for the image is deleted. More on media and Shopware6 can be found here: https://shopware.stoplight.io/docs/admin-api/ZG9jOjEyNjI1Mzkw-media-handling +=back + +=over 4 =item C -- 2.20.1