diff --git a/Application/Controller/Admin/d3AdminMall.php b/Application/Controller/Admin/d3AdminMall.php new file mode 100644 index 00000000..a2a9c8b5 --- /dev/null +++ b/Application/Controller/Admin/d3AdminMall.php @@ -0,0 +1,47 @@ + + * @link https://www.oxidmodule.com + */ + +declare(strict_types=1); + +namespace D3\Ordermanager\Application\Controller\Admin; + +use D3\Ordermanager\Application\Model\Constants; +use OxidEsales\Eshop\Application\Controller\Admin\AdminDetailsController; +use OxidEsales\Eshop\Application\Controller\Admin\AdminMall; // required for non fallback case + +// @codeCoverageIgnoreStart +// fallback for non ee editions +if ( ! class_exists( '\\' . AdminMall::class ) ) { + class d3AdminMall extends AdminDetailsController + { + protected $_sThisTemplate = '@'. Constants::OXID_MODULE_ID .'/admin/d3_cfg_ordermanageritem_mall'; + + public function render(): string + { + parent::render(); + return $this->_sThisTemplate; + } + + public function assignToSubshops(): void + { + } + } +} else { + class d3AdminMall extends AdminMall + { + } +} + +// @codeCoverageIgnoreEnd