1 package SL::ShopConnector::ALL;
5 use SL::ShopConnector::Shopware;
6 use SL::ShopConnector::Shopware6;
7 use SL::ShopConnector::WooCommerce;
9 my %shop_connector_by_name = (
10 shopware => 'SL::ShopConnector::Shopware',
11 shopware6 => 'SL::ShopConnector::Shopware6',
12 woocommerce => 'SL::ShopConnector::WooCommerce',
15 my @shop_connector_order = qw(
21 my @shop_connectors = (
22 { id => "shopware", description => "Shopware" },
23 { id => "shopware6", description => "Shopware6" },
24 { id => "woocommerce", description => "WooCommerce" },
28 sub all_shop_connectors {
29 map { $shop_connector_by_name{$_} } @shop_connector_order;
32 sub shop_connector_class_by_name {
33 $shop_connector_by_name{$_[1]};