Shop: Vorgangsbezeichnung nicht bei Shopware6 implementiert
authorWerner Hahn <wh@futureworldsearch.net>
Fri, 20 May 2022 09:06:54 +0000 (11:06 +0200)
committerWerner Hahn <wh@futureworldsearch.net>
Fri, 20 May 2022 09:08:41 +0000 (11:08 +0200)
SL/DB/Shop.pm

index c5e652a..bcae321 100644 (file)
@@ -28,8 +28,8 @@ sub validate {
                                                                unless $self->{orders_to_fetch} > 0;
 
   # not yet implemented checks
                                                                unless $self->{orders_to_fetch} > 0;
 
   # not yet implemented checks
-  push @errors, $::locale->text('Transaction Description is not yet implemented')    if $self->{transaction_description};
   if ($self->{connector} eq 'shopware6') {
   if ($self->{connector} eq 'shopware6') {
+    push @errors, $::locale->text('Transaction Description is not yet implemented')  if $self->{transaction_description};
     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('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 {