source/Application/Model/Article.php
protected function _assignParentDependFields()
    {
        $sParent = $this->getParentArticle();
        if ($sParent) {
            foreach ($this->_getCopyParentFields() as $sField) {
                $this->$sField = new \OxidEsales\Eshop\Core\Field($sParent->$sField->value);
            }
        }
    }
protected function _assignParentDependFields()
    {
        $sParent = $this->getParentArticle();
        if ($sParent) {
            foreach ($this->_getCopyParentFields() as $sField) {
                $this->$sField = new \OxidEsales\Eshop\Core\Field($sParent->$sField->value);
            }
        }
    }
protected function _assignParentDependFields ( ) { $ sParent = $ this -> getParentArticle ( ) ; if ( $ sParent ) { foreach ( $ this -> _getCopyParentFields ( ) as $ sField ) { $ this -> $ sField = new \ OxidEsales \ Eshop \ Core \ Field ( $ sParent -> $ sField -> value ) ; } } }
Set parent field value to child - variants
Set parent field value to child - variants