Skip to content

Commit c390a91

Browse files
committed
MC-15574: Fix associated product grid
1 parent f626d3b commit c390a91

File tree

1 file changed

+4
-1
lines changed
  • app/code/Magento/ConfigurableProduct/Block/Adminhtml/Product/Edit/Tab/Variations/Config

1 file changed

+4
-1
lines changed

app/code/Magento/ConfigurableProduct/Block/Adminhtml/Product/Edit/Tab/Variations/Config/Matrix.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,6 +360,7 @@ protected function prepareVariations()
360360
'id' => $option->getValue(),
361361
'label' => $option->getLabel(),
362362
'value' => $option->getValue(),
363+
'__disableTmpl' => true,
363364
];
364365
}
365366
}
@@ -371,6 +372,7 @@ protected function prepareVariations()
371372
'id' => $optionId,
372373
'label' => $variation[$attribute->getId()]['label'],
373374
'value' => $optionId,
375+
'__disableTmpl' => true,
374376
];
375377
$variationOptions[] = $variationOption;
376378
$attributes[$attribute->getAttributeId()]['chosen'][] = $variationOption;
@@ -387,7 +389,8 @@ protected function prepareVariations()
387389
'price' => $price,
388390
'options' => $variationOptions,
389391
'weight' => $product->getWeight(),
390-
'status' => $product->getStatus()
392+
'status' => $product->getStatus(),
393+
'__disableTmpl' => true,
391394
];
392395
}
393396
}

0 commit comments

Comments
 (0)