source/Application/Controller/ArticleDetailsController.php
public function getPicturesProduct()
    {
        $variantSelections = $this->getVariantSelections();
        if ($variantSelections && $variantSelections['oActiveVariant'] && !$variantSelections['blPerfectFit']) {
            return $variantSelections['oActiveVariant'];
        }

        return $this->getProduct();
    }
public function getPicturesProduct()
    {
        $variantSelections = $this->getVariantSelections();
        if ($variantSelections && $variantSelections['oActiveVariant'] && !$variantSelections['blPerfectFit']) {
            return $variantSelections['oActiveVariant'];
        }

        return $this->getProduct();
    }
public function getPicturesProduct ( ) { $ variantSelections = $ this -> getVariantSelections ( ) ; if ( $ variantSelections && $ variantSelections [ 'oActiveVariant' ] && ! $ variantSelections [ 'blPerfectFit' ] ) { return $ variantSelections [ 'oActiveVariant' ] ; } return $ this -> getProduct ( ) ; }
Returns pictures product object

@return \OxidEsales\Eshop\Application\Model\Article
Returns pictures product object