source/Application/Component/Widget/ArticleDetails.php
public function getVariantSelections()
    {
        // finding parent
        $oProduct = $this->getProduct();
        $sParentIdField = 'oxarticles__oxparentid';
        if (($oParent = $this->_getParentProduct($oProduct->$sParentIdField->value))) {
            $sVarSelId = \OxidEsales\Eshop\Core\Registry::getConfig()->getRequestParameter("varselid");

            return $oParent->getVariantSelections($sVarSelId, $oProduct->getId());
        }

        return $oProduct->getVariantSelections(\OxidEsales\Eshop\Core\Registry::getConfig()->getRequestParameter("varselid"));
    }
public function getVariantSelections()
    {
        // finding parent
        $oProduct = $this->getProduct();
        $sParentIdField = 'oxarticles__oxparentid';
        if (($oParent = $this->_getParentProduct($oProduct->$sParentIdField->value))) {
            $sVarSelId = \OxidEsales\Eshop\Core\Registry::getConfig()->getRequestParameter("varselid");

            return $oParent->getVariantSelections($sVarSelId, $oProduct->getId());
        }

        return $oProduct->getVariantSelections(\OxidEsales\Eshop\Core\Registry::getConfig()->getRequestParameter("varselid"));
    }
public function getVariantSelections ( ) { // finding parent $ oProduct = $ this -> getProduct ( ) ; $ sParentIdField = 'oxarticles__oxparentid' ; if ( ( $ oParent = $ this -> _getParentProduct ( $ oProduct -> $ sParentIdField -> value ) ) ) { $ sVarSelId = \ OxidEsales \ Eshop \ Core \ Registry :: getConfig ( ) -> getRequestParameter ( "varselid" ) ; return $ oParent -> getVariantSelections ( $ sVarSelId , $ oProduct -> getId ( ) ) ; } return $ oProduct -> getVariantSelections ( \ OxidEsales \ Eshop \ Core \ Registry :: getConfig ( ) -> getRequestParameter ( "varselid" ) ) ; }
Returns variant selection.

@return array
Returns variant selection .