source/Application/Controller/SuggestController.php
public function getProduct()
    {
        if ($this->_oProduct === null) {
            $this->_oProduct = false;

            if ($sProductId = \OxidEsales\Eshop\Core\Registry::getConfig()->getRequestParameter('anid')) {
                $oProduct = oxNew(\OxidEsales\Eshop\Application\Model\Article::class);
                $oProduct->load($sProductId);
                $this->_oProduct = $oProduct;
            }
        }

        return $this->_oProduct;
    }
public function getProduct()
    {
        if ($this->_oProduct === null) {
            $this->_oProduct = false;

            if ($sProductId = \OxidEsales\Eshop\Core\Registry::getConfig()->getRequestParameter('anid')) {
                $oProduct = oxNew(\OxidEsales\Eshop\Application\Model\Article::class);
                $oProduct->load($sProductId);
                $this->_oProduct = $oProduct;
            }
        }

        return $this->_oProduct;
    }
public function getProduct ( ) { if ( $ this -> _oProduct === null ) { $ this -> _oProduct = false ; if ( $ sProductId = \ OxidEsales \ Eshop \ Core \ Registry :: getConfig ( ) -> getRequestParameter ( 'anid' ) ) { $ oProduct = oxNew ( \ OxidEsales \ Eshop \ Application \ Model \ Article :: class ) ; $ oProduct -> load ( $ sProductId ) ; $ this -> _oProduct = $ oProduct ; } } return $ this -> _oProduct ; }
Template variable getter. Returns search product

@return object
Template variable getter . Returns search product