Skip to content

Commit

Permalink
Merge remote-tracking branch 'tango/MAGETWO-51831' into MAGETWO-51859
Browse files Browse the repository at this point in the history
  • Loading branch information
Bohdan Korablov committed Apr 13, 2016
2 parents 03eb24c + bd46881 commit 1f2a854
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,7 @@ protected function customizeNameListeners(array $meta)
'handleShortDescriptionChanges' => '${$.provider}:data.product.short_description',
'handleSizeChanges' => '${$.provider}:data.product.size'
],
'allowImport' => !$this->locator->getProduct()->getId(),
];

if (!in_array($listener, $textListeners)) {
Expand All @@ -356,8 +357,7 @@ protected function customizeNameListeners(array $meta)
$skuPath . static::META_CONFIG_PATH,
$meta,
[
'autoImportIfEmpty' => true,
'allowImport' => $this->locator->getProduct()->getId() ? false : true,
'autoImportIfEmpty' => true
]
);

Expand Down

0 comments on commit 1f2a854

Please sign in to comment.