source/Application/Controller/ContentController.php
public function showPlainTemplate()
    {
        $blPlain = (bool) \OxidEsales\Eshop\Core\Registry::getConfig()->getRequestParameter('plain');
        if ($blPlain === false) {
            $oUser = $this->getUser();
            if ($this->isEnabledPrivateSales() &&
                (!$oUser || ($oUser && !$oUser->isTermsAccepted()))
            ) {
                $blPlain = true;
            }
        }

        return (bool) $blPlain;
    }
public function showPlainTemplate()
    {
        $blPlain = (bool) \OxidEsales\Eshop\Core\Registry::getConfig()->getRequestParameter('plain');
        if ($blPlain === false) {
            $oUser = $this->getUser();
            if ($this->isEnabledPrivateSales() &&
                (!$oUser || ($oUser && !$oUser->isTermsAccepted()))
            ) {
                $blPlain = true;
            }
        }

        return (bool) $blPlain;
    }
public function showPlainTemplate ( ) { $ blPlain = ( bool ) \ OxidEsales \ Eshop \ Core \ Registry :: getConfig ( ) -> getRequestParameter ( 'plain' ) ; if ( $ blPlain === false ) { $ oUser = $ this -> getUser ( ) ; if ( $ this -> isEnabledPrivateSales ( ) && ( ! $ oUser || ( $ oUser && ! $ oUser -> isTermsAccepted ( ) ) ) ) { $ blPlain = true ; } } return ( bool ) $ blPlain ; }
Returns true if user forces to display plain template or
if private sales switched ON and user is not logged in

@return bool
Returns true if user forces to display plain template or if private sales switched ON and user is not logged in