Skip to content

Commit 878108c

Browse files
committed
ACP2E-412: Cant link configurable options with REST to product created on Backend
1 parent c4fa10b commit 878108c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/ConfigurableProduct/Model/OptionRepository.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ public function save($sku, OptionInterface $option)
230230
if ($product->getTypeId() === ProductType::TYPE_SIMPLE) {
231231
$product->setTypeId(ConfigurableType::TYPE_CODE);
232232
$product->save();
233-
}//echo $option->getId()."ooo".$product->getTypeId();
233+
}
234234
$option->save();
235235
} catch (\Exception $e) {
236236
throw new CouldNotSaveException(__('An error occurred while saving the option. Please try to save again.'));

0 commit comments

Comments
 (0)