We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc77d0e commit d81a709Copy full SHA for d81a709
app/code/Magento/ConfigurableProduct/Model/Product/VariationHandler.php
@@ -152,7 +152,7 @@ protected function fillSimpleProductData(
152
\Magento\Catalog\Model\Product $parentProduct,
153
$postData
154
) {
155
- $typeId = isset($postData['weight']) && !empty($postData['weight'])
+ $typeId = !empty($postData['weight'])
156
? ProductType::TYPE_SIMPLE
157
: ProductType::TYPE_VIRTUAL;
158
0 commit comments