source/Application/Controller/ArticleDetailsController.php
public function getVariantSelections()
    {
        $article = $this->getProduct();
        $variantSelectionListId = \OxidEsales\Eshop\Core\Registry::getConfig()->getRequestParameter("varselid");
        if (($articleParent = $this->_getParentProduct($article->oxarticles__oxparentid->value))) {
            return $articleParent->getVariantSelections($variantSelectionListId, $article->getId());
        }

        return $article->getVariantSelections($variantSelectionListId);
    }
public function getVariantSelections()
    {
        $article = $this->getProduct();
        $variantSelectionListId = \OxidEsales\Eshop\Core\Registry::getConfig()->getRequestParameter("varselid");
        if (($articleParent = $this->_getParentProduct($article->oxarticles__oxparentid->value))) {
            return $articleParent->getVariantSelections($variantSelectionListId, $article->getId());
        }

        return $article->getVariantSelections($variantSelectionListId);
    }
public function getVariantSelections ( ) { $ article = $ this -> getProduct ( ) ; $ variantSelectionListId = \ OxidEsales \ Eshop \ Core \ Registry :: getConfig ( ) -> getRequestParameter ( "varselid" ) ; if ( ( $ articleParent = $ this -> _getParentProduct ( $ article -> oxarticles__oxparentid -> value ) ) ) { return $ articleParent -> getVariantSelections ( $ variantSelectionListId , $ article -> getId ( ) ) ; } return $ article -> getVariantSelections ( $ variantSelectionListId ) ; }
Returns variant selection

@return oxVariantSelectList
Returns variant selection