source/Application/Model/Article.php
protected function _assignNotBuyableParent()
    {
        if (!\OxidEsales\Eshop\Core\Registry::getConfig()->getConfigParam('blVariantParentBuyable') &&
            ($this->_blHasVariants || $this->oxarticles__oxvarstock->value || $this->oxarticles__oxvarcount->value)
        ) {
            $this->_blNotBuyableParent = true;
        }
    }
protected function _assignNotBuyableParent()
    {
        if (!\OxidEsales\Eshop\Core\Registry::getConfig()->getConfigParam('blVariantParentBuyable') &&
            ($this->_blHasVariants || $this->oxarticles__oxvarstock->value || $this->oxarticles__oxvarcount->value)
        ) {
            $this->_blNotBuyableParent = true;
        }
    }
protected function _assignNotBuyableParent ( ) { if ( ! \ OxidEsales \ Eshop \ Core \ Registry :: getConfig ( ) -> getConfigParam ( 'blVariantParentBuyable' ) && ( $ this -> _blHasVariants || $ this -> oxarticles__oxvarstock -> value || $ this -> oxarticles__oxvarcount -> value ) ) { $ this -> _blNotBuyableParent = true ; } }
if we have variants then depending on config option the parent may be non buyable
if we have variants then depending on config option the parent may be non buyable