X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FShopConnector%2FALL.pm;h=1b1b0c81496d11bbd85b31a5e9c131a0c8549611;hb=af8f0a39dd0739e1ec5acdeee46bc28cd891de69;hp=e579fb48a6e1c5f338d8a1c21c68faeadbe85ee6;hpb=856a3b09bbe4d64234219ad7f6aa540d0535f90a;p=kivitendo-erp.git diff --git a/SL/ShopConnector/ALL.pm b/SL/ShopConnector/ALL.pm index e579fb48a..1b1b0c814 100644 --- a/SL/ShopConnector/ALL.pm +++ b/SL/ShopConnector/ALL.pm @@ -2,20 +2,26 @@ package SL::ShopConnector::ALL; use strict; +use SL::ShopConnector::Shopware; +use SL::ShopConnector::Shopware6; +use SL::ShopConnector::WooCommerce; + my %shop_connector_by_name = ( shopware => 'SL::ShopConnector::Shopware', -); - -my %shop_connector_by_connector = ( - shopware => 'SL::ShopConnector::Shopware', + shopware6 => 'SL::ShopConnector::Shopware6', + woocommerce => 'SL::ShopConnector::WooCommerce', ); my @shop_connector_order = qw( + woocommerce shopware + shopware6 ); my @shop_connectors = ( - { id => "shopware", description => "Shopware" }, + { id => "shopware", description => "Shopware" }, + { id => "shopware6", description => "Shopware6" }, + { id => "woocommerce", description => "WooCommerce" }, ); @@ -27,10 +33,6 @@ sub shop_connector_class_by_name { $shop_connector_by_name{$_[1]}; } -sub shop_connector_class_by_connector { - $shop_connector_by_connector{$_[1]}; -} - sub connectors { \@shop_connectors; }