X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/e01550a6900d0a126f1f40d56a09345f5b23dd27..b293ff8ad52fc76ba0c44783e3982418114d6b08:/SL/ShopConnector/ALL.pm diff --git a/SL/ShopConnector/ALL.pm b/SL/ShopConnector/ALL.pm index 809f74ad1..1b1b0c814 100644 --- a/SL/ShopConnector/ALL.pm +++ b/SL/ShopConnector/ALL.pm @@ -2,17 +2,26 @@ package SL::ShopConnector::ALL; use strict; -my %shop_connector_by_name = ( -); +use SL::ShopConnector::Shopware; +use SL::ShopConnector::Shopware6; +use SL::ShopConnector::WooCommerce; -my %shop_connector_by_connector = ( +my %shop_connector_by_name = ( + 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 => "shopware6", description => "Shopware6" }, + { id => "woocommerce", description => "WooCommerce" }, ); @@ -24,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; }