Revision 08bf0619
Von Jan Büren vor fast 3 Jahren hinzugefügt
SL/ShopConnector/Shopware6.pm | ||
---|---|---|
763 | 763 |
foreach my $pos (@positions) { |
764 | 764 |
$position++; |
765 | 765 |
my $price = $::form->round_amount($pos->{unitPrice}, 2); # unit |
766 |
my %pos_columns = ( description => $pos->{product}->{description},
|
|
766 |
my %pos_columns = ( description => $pos->{product}->{name},
|
|
767 | 767 |
partnumber => $pos->{product}->{productNumber}, |
768 | 768 |
price => $price, |
769 | 769 |
quantity => $pos->{quantity}, |
... | ... | |
967 | 967 |
Specific Implementation notes: |
968 | 968 |
=over 4 |
969 | 969 |
|
970 |
=item * Calls sync_all_images with set_cover = 1 and delete_orphaned = 1
|
|
970 |
=item Calls sync_all_images with set_cover = 1 and delete_orphaned = 1 |
|
971 | 971 |
|
972 |
=item * Checks if longdescription should be taken from part or shop_part
|
|
972 |
=item Checks if longdescription should be taken from part or shop_part |
|
973 | 973 |
|
974 |
=item * Checks if a language with the name 'Englisch' or template_code 'en'
|
|
974 |
=item Checks if a language with the name 'Englisch' or template_code 'en' |
|
975 | 975 |
is available and sets the shopware6 'en-GB' locales for the product |
976 | 976 |
|
977 |
=back |
|
978 |
|
|
979 | 977 |
=item C<sync_all_images (set_cover: 0|1, delete_orphaned: 0|1)> |
980 | 978 |
|
981 | 979 |
The connecting key for shopware to kivi images is the image name. |
... | ... | |
993 | 991 |
More on media and Shopware6 can be found here: |
994 | 992 |
https://shopware.stoplight.io/docs/admin-api/ZG9jOjEyNjI1Mzkw-media-handling |
995 | 993 |
|
994 |
=back |
|
995 |
|
|
996 |
=over 4 |
|
996 | 997 |
|
997 | 998 |
=item C<get_article> |
998 | 999 |
|
Auch abrufbar als: Unified diff
Shopware6: shopware.name entspricht kivitendo.description
Etwas verwirrend, denn shopware.description ist kivi.longdescription