source/Application/Controller/MoreDetailsController.php
public function getProduct()
    {
        if ($this->_oProduct === null) {
            $oArticle = oxNew(\OxidEsales\Eshop\Application\Model\Article::class);
            $oArticle->load(\OxidEsales\Eshop\Core\Registry::getConfig()->getRequestParameter('anid'));
            $this->_oProduct = $oArticle;
        }

        return $this->_oProduct;
    }
public function getProduct()
    {
        if ($this->_oProduct === null) {
            $oArticle = oxNew(\OxidEsales\Eshop\Application\Model\Article::class);
            $oArticle->load(\OxidEsales\Eshop\Core\Registry::getConfig()->getRequestParameter('anid'));
            $this->_oProduct = $oArticle;
        }

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

@return oxArticle
Template variable getter . Returns active product