source/Core/Config.php
public function isProductiveMode()
    {
        $productive = $this->getConfigParam('blProductive');
        if (!isset($productive)) {
            $query = 'select oxproductive from oxshops where oxid = "' . $this->getShopId() . '"';
            $productive = ( bool ) \OxidEsales\Eshop\Core\DatabaseProvider::getDb()->getOne($query);
            $this->setConfigParam('blProductive', $productive);
        }

        return $productive;
    }
public function isProductiveMode()
    {
        $productive = $this->getConfigParam('blProductive');
        if (!isset($productive)) {
            $query = 'select oxproductive from oxshops where oxid = "' . $this->getShopId() . '"';
            $productive = ( bool ) \OxidEsales\Eshop\Core\DatabaseProvider::getDb()->getOne($query);
            $this->setConfigParam('blProductive', $productive);
        }

        return $productive;
    }
public function isProductiveMode ( ) { $ productive = $ this -> getConfigParam ( 'blProductive' ) ; if ( ! isset ( $ productive ) ) { $ query = 'select oxproductive from oxshops where oxid = "' . $ this -> getShopId ( ) . '"' ; $ productive = ( bool ) \ OxidEsales \ Eshop \ Core \ DatabaseProvider :: getDb ( ) -> getOne ( $ query ) ; $ this -> setConfigParam ( 'blProductive' , $ productive ) ; } return $ productive ; }
Returns true if current active shop is in productive mode or false if not

@return bool
Returns true if current active shop is in productive mode or false if not