source/Core/ViewConfig.php
public function getRemoteAddress()
    {
        if (($sValue = $this->getViewConfigParam('ip')) === null) {
            $sValue = \OxidEsales\Eshop\Core\Registry::getUtilsServer()->getRemoteAddress();
            $this->setViewConfigParam('ip', $sValue);
        }

        return $sValue;
    }
public function getRemoteAddress()
    {
        if (($sValue = $this->getViewConfigParam('ip')) === null) {
            $sValue = \OxidEsales\Eshop\Core\Registry::getUtilsServer()->getRemoteAddress();
            $this->setViewConfigParam('ip', $sValue);
        }

        return $sValue;
    }
public function getRemoteAddress ( ) { if ( ( $ sValue = $ this -> getViewConfigParam ( 'ip' ) ) === null ) { $ sValue = \ OxidEsales \ Eshop \ Core \ Registry :: getUtilsServer ( ) -> getRemoteAddress ( ) ; $ this -> setViewConfigParam ( 'ip' , $ sValue ) ; } return $ sValue ; }
Returns visitor ip address

@return string
Returns visitor ip address