From f263e30a0aecad0e08d63a587cea1b83516d668b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20B=C3=BCren?= Date: Wed, 24 Nov 2021 11:44:05 +0100 Subject: [PATCH] =?utf8?q?Shop-Konfig:=20Not=20implemented=20f=C3=BCr=20al?= =?utf8?q?les=20au=C3=9Fer=20sw6=20erg=C3=A4nzt=20(part.notes)?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/DB/Shop.pm | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/SL/DB/Shop.pm b/SL/DB/Shop.pm index efa54c7fa..0018de693 100644 --- a/SL/DB/Shop.pm +++ b/SL/DB/Shop.pm @@ -25,10 +25,13 @@ sub validate { unless $self->{orders_to_fetch} > 0; # not yet implemented checks - push @errors, $::locale->text('Transaction Description is not yet implemented') if $self->{transaction_description}; + push @errors, $::locale->text('Transaction Description is not yet implemented') if $self->{transaction_description}; if ($self->{connector} eq 'shopware6') { - push @errors, $::locale->text('Shipping cost article not implemented') if $self->{shipping_costs_parts_id}; - push @errors, $::locale->text('Fetch from last order number not implemented') if $self->{last_order_number}; + push @errors, $::locale->text('Shipping cost article is not implemented') if $self->{shipping_costs_parts_id}; + push @errors, $::locale->text('Fetch from last order number is not implemented') if $self->{last_order_number}; + } else { + push @errors, $::locale->text('Use Long Description from Parts is only for Shopware6 implemented') + if $self->{use_part_longdescription}; } return @errors; } -- 2.20.1