public function prepareProductTitle($product)
    {
        $title = $product->oxarticles__oxtitle->value;
        if ($product->oxarticles__oxvarselect->value) {
            $title .= ' ' . $product->oxarticles__oxvarselect->value;
        }

        return $title;
    }
public function prepareProductTitle($product)
    {
        $title = $product->oxarticles__oxtitle->value;
        if ($product->oxarticles__oxvarselect->value) {
            $title .= ' ' . $product->oxarticles__oxvarselect->value;
        }

        return $title;
    }
public function prepareProductTitle ( $ product ) { $ title = $ product -> oxarticles__oxtitle -> value ; if ( $ product -> oxarticles__oxvarselect -> value ) { $ title .= ' ' . $ product -> oxarticles__oxvarselect -> value ; } return $ title ; }
Returns formatted product title.

@param \OxidEsales\Eshop\Application\Model\Article $product product which title must be prepared.

@return string
Returns formatted product title .