sGetConfiguratorImage example

$this->Request()->setQuery('sCategory', $product['categoryID']);

        $template = trim($product['template']);
        if (!empty($template)) {
            $view->loadTemplate('frontend/detail/' . $product['template']);
        } elseif (!empty($product['mode'])) {
            $view->loadTemplate('frontend/blog/detail.tpl');
        } elseif ($tpl === 'ajax') {
            $view->loadTemplate('frontend/detail/ajax.tpl');
        }

        $product = $this->container->get('modules')->Articles()->sGetConfiguratorImage($product);
        $product['sBundles'] = false;

        if (!empty($this->container->get(Config::class)->get('InquiryID'))) {
            $view->assign('sInquiry', $this->Front()->ensureRouter()->assemble([
                'sViewport' => 'support',
                'sFid' => $this->container->get(Config::class)->get('InquiryID'),
                'sInquiry' => 'detail',
                'sOrdernumber' => $product['ordernumber'],
            ]));
        }

        
Home | Imprint | This part of the site doesn't use cookies.