source/Application/Controller/ArticleDetailsController.php
public function getTitle()
    {
        if ($article = $this->getProduct()) {
            $articleTitle = $article->oxarticles__oxtitle->value;
            $variantSelectionId = $article->oxarticles__oxvarselect->value;

            $variantSelectionValue = $variantSelectionId ? ' ' . $variantSelectionId : '';

            return $articleTitle . $variantSelectionValue;
        }
    }
public function getTitle()
    {
        if ($article = $this->getProduct()) {
            $articleTitle = $article->oxarticles__oxtitle->value;
            $variantSelectionId = $article->oxarticles__oxvarselect->value;

            $variantSelectionValue = $variantSelectionId ? ' ' . $variantSelectionId : '';

            return $articleTitle . $variantSelectionValue;
        }
    }
public function getTitle ( ) { if ( $ article = $ this -> getProduct ( ) ) { $ articleTitle = $ article -> oxarticles__oxtitle -> value ; $ variantSelectionId = $ article -> oxarticles__oxvarselect -> value ; $ variantSelectionValue = $ variantSelectionId ? ' ' . $ variantSelectionId : '' ; return $ articleTitle . $ variantSelectionValue ; } }
Returns current view title. Default is null

@return null
Returns current view title . Default is null