Skip to content

Commit 8582904

Browse files
author
Alexey Yakimovich
committed
MAGETWO-70232: [GITHUB] Import customizable options adds it to another product if same SKU is filled#9457
- Fixed static test;
1 parent ca3e804 commit 8582904

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/code/Magento/Catalog/Model/Product/Option/SaveHandler.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,8 @@ public function execute($entity, $arguments = [])
7272
* @param bool $hasChangedSku
7373
* @param string $newSku
7474
*/
75-
private function processOptionsSaving($options, $hasChangedSku, $newSku) {
75+
private function processOptionsSaving($options, $hasChangedSku, $newSku)
76+
{
7677
foreach ($options as $option) {
7778
if ($hasChangedSku && $option->hasData('product_sku')) {
7879
$option->setProductSku($newSku);

0 commit comments

Comments
 (0)