src/ShopBundle/objects/TCMSTableEditor/TCMSShopTableEditor_ShopArticle.class.php
public function CopyPropertyRecords($oField, $sourceRecordID)
    {
        if (!$this->isNewVariant() || 'shop_article_variants' != $oField->name) {
            parent::CopyPropertyRecords($oField, $sourceRecordID);
        }
    }
public function CopyPropertyRecords($oField, $sourceRecordID)
    {
        if (!$this->isNewVariant() || 'shop_article_variants' != $oField->name) {
            parent::CopyPropertyRecords($oField, $sourceRecordID);
        }
    }
public function CopyPropertyRecords ( $ oField , $ sourceRecordID ) { if ( ! $ this -> isNewVariant ( ) || 'shop_article_variants' != $ oField -> name ) { parent :: CopyPropertyRecords ( $ oField , $ sourceRecordID ) ; } }
if we are creating a variant, do NOT copy the parents variants.

@param TCMSField $oField
@param int       $sourceRecordID
if we are creating a variant do NOT copy the parents variants .