| @@ -1,14 +1,16 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | 3 | namespace TierPricingTable\Admin; |
| 4 | 4 | |
| 5 | +use TierPricingTable\Freemius ; | |
| 6 | +use TierPricingTable\Settings\Settings ; | |
| 7 | +use TierPricingTable\TierPricingTablePlugin ; | |
| 5 | 8 | use Premmerce\SDK\V2\FileManager\FileManager ; |
| 6 | 9 | use TierPricingTable\Admin\ProductManagers\SimpleProductManager ; |
| 7 | 10 | use TierPricingTable\Admin\ProductManagers\VariationProductManager ; |
| 8 | -use TierPricingTable\Freemius ; | |
| 9 | -use TierPricingTable\Settings\Settings ; | |
| 10 | -use TierPricingTable\TierPricingTablePlugin ; | |
| 11 | +use TierPricingTable\Admin\Export\Woocommerce as WooCommerceExport ; | |
| 12 | +use TierPricingTable\Admin\Import\Woocommerce as WooCommerceImport ; | |
| 11 | 13 | /** |
| 12 | 14 | * Class Admin |
| 13 | 15 | * |
| 14 | 16 | * @package TierPricingTable\Admin |
| @@ -69,13 +71,18 @@ | ||
| 69 | 71 | } |
| 70 | 72 | |
| 71 | 73 | } |
| 72 | 74 | |
| 75 | + /** | |
| 76 | + * Init Managers | |
| 77 | + */ | |
| 73 | 78 | public function initManagers() |
| 74 | 79 | { |
| 75 | 80 | $this->managers = [ |
| 76 | 81 | SimpleProductManager::class => new SimpleProductManager( $this->fileManager, $this->settings, $this->licence ), |
| 77 | 82 | VariationProductManager::class => new VariationProductManager( $this->fileManager, $this->settings, $this->licence ), |
| 83 | + WooCommerceExport::class => new WooCommerceExport(), | |
| 84 | + WooCommerceImport::class => new WooCommerceImport(), | |
| 78 | 85 | ]; |
| 79 | 86 | } |
| 80 | 87 | |
| 81 | 88 | /** |