| @@ -8,8 +8,9 @@ | ||
| 8 | 8 | use TierPricingTable\Addons\CategoryTiers\CategoryTierAddon; |
| 9 | 9 | use TierPricingTable\Addons\Coupons\CouponsAddon; |
| 10 | 10 | use TierPricingTable\Addons\CustomColumns\CustomColumnsAddon; |
| 11 | 11 | use TierPricingTable\Addons\GlobalTieredPricing\GlobalTieredPricingAddon; |
| 12 | +use TierPricingTable\Addons\LayoutConfigurator\LayoutConfiguratorAddon; | |
| 12 | 13 | use TierPricingTable\Addons\ManualOrders\ManualOrdersAddon; |
| 13 | 14 | use TierPricingTable\Addons\MinQuantity\MinQuantity; |
| 14 | 15 | use TierPricingTable\Addons\NonLoggedInUsers\NonLoggedInUsersAddon; |
| 15 | 16 | use TierPricingTable\Addons\PluginsRecommendations\PluginsRecommendationsAddon; |
| @@ -34,29 +35,31 @@ | ||
| 34 | 35 | } |
| 35 | 36 | |
| 36 | 37 | public function init() { |
| 37 | 38 | $addons = array( |
| 38 | - ManualOrdersAddon::class => new ManualOrdersAddon(), | |
| 39 | - GlobalTieredPricingAddon::class => new GlobalTieredPricingAddon(), | |
| 40 | - CouponsAddon::class => new CouponsAddon(), | |
| 41 | - RoleBasedPricingAddon::class => new RoleBasedPricingAddon(), | |
| 42 | - UserBasedPricingAddon::class => new UserBasedPricingAddon(), | |
| 43 | - CategoryTierAddon::class => new CategoryTierAddon(), | |
| 44 | - AdvancedQuantityOptionsAddon::class => new AdvancedQuantityOptionsAddon(), | |
| 45 | - PluginsRecommendationsAddon::class => new PluginsRecommendationsAddon(), | |
| 46 | - CustomColumnsAddon::class => new CustomColumnsAddon(), | |
| 47 | - ProductCatalogLoop::class => new ProductCatalogLoop(), | |
| 48 | - ReactProductEditorAddon::class => new ReactProductEditorAddon(), | |
| 49 | - TaxSettingsAddon::class => new TaxSettingsAddon(), | |
| 50 | - TierLabelsAddon::class => new TierLabelsAddon(), | |
| 51 | - ToolsAddon::class => new ToolsAddon(), | |
| 52 | - CatalogPricesAddon::class => new CatalogPricesAddon(), | |
| 53 | - TieredPricingCartAddon::class => new TieredPricingCartAddon(), | |
| 54 | - YouSaveAddon::class => new YouSaveAddon(), | |
| 55 | - CartUpsellsAddon::class => new CartUpsellsAddon(), | |
| 56 | - PricingSummaryAddon::class => new PricingSummaryAddon(), | |
| 57 | - NonLoggedInUsersAddon::class => new NonLoggedInUsersAddon(), | |
| 58 | - \TierPricingTable\Addons\ImportExport\ImportExportAddon::class => new \TierPricingTable\Addons\ImportExport\ImportExportAddon(), | |
| 39 | + ManualOrdersAddon::class => new ManualOrdersAddon(), | |
| 40 | + GlobalTieredPricingAddon::class => new GlobalTieredPricingAddon(), | |
| 41 | + CouponsAddon::class => new CouponsAddon(), | |
| 42 | + RoleBasedPricingAddon::class => new RoleBasedPricingAddon(), | |
| 43 | + UserBasedPricingAddon::class => new UserBasedPricingAddon(), | |
| 44 | + CategoryTierAddon::class => new CategoryTierAddon(), | |
| 45 | + AdvancedQuantityOptionsAddon::class => new AdvancedQuantityOptionsAddon(), | |
| 46 | + PluginsRecommendationsAddon::class => new PluginsRecommendationsAddon(), | |
| 47 | + CustomColumnsAddon::class => new CustomColumnsAddon(), | |
| 48 | + ProductCatalogLoop::class => new ProductCatalogLoop(), | |
| 49 | + ReactProductEditorAddon::class => new ReactProductEditorAddon(), | |
| 50 | + LayoutConfiguratorAddon::class => new LayoutConfiguratorAddon(), | |
| 51 | + TaxSettingsAddon::class => new TaxSettingsAddon(), | |
| 52 | + TierLabelsAddon::class => new TierLabelsAddon(), | |
| 53 | + ToolsAddon::class => new ToolsAddon(), | |
| 54 | + CatalogPricesAddon::class => new CatalogPricesAddon(), | |
| 55 | + TieredPricingCartAddon::class => new TieredPricingCartAddon(), | |
| 56 | + YouSaveAddon::class => new YouSaveAddon(), | |
| 57 | + CartUpsellsAddon::class => new CartUpsellsAddon(), | |
| 58 | + PricingSummaryAddon::class => new PricingSummaryAddon(), | |
| 59 | + NonLoggedInUsersAddon::class => new NonLoggedInUsersAddon(), | |
| 60 | + \TierPricingTable\Addons\ImportExport\ImportExportAddon::class => new \TierPricingTable\Addons\ImportExport\ImportExportAddon(), | |
| 61 | + \TierPricingTable\Addons\RequestAQuote\RequestAQuoteAddon::class => new \TierPricingTable\Addons\RequestAQuote\RequestAQuoteAddon(), | |
| 59 | 62 | ); |
| 60 | 63 | $addons = apply_filters( 'tiered_pricing_table/addons/list', $addons ); |
| 61 | 64 | foreach ( $addons as $addon ) { |
| 62 | 65 | if ( $addon->isEnabled() ) { |