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.
2 parents 0884b85 + d7937d5 commit 8106260Copy full SHA for 8106260
app/code/Magento/GroupedProduct/Block/Adminhtml/Items/Column/Name/Grouped.php
@@ -9,6 +9,8 @@
9
10
class Grouped extends \Magento\Sales\Block\Adminhtml\Items\Column\Name
11
{
12
+ const COLUMN_NAME = 'name';
13
+
14
/**
15
* Prepare item html
16
*
@@ -24,8 +26,13 @@ protected function _toHtml()
24
26
$item = $this->getItem();
25
27
}
28
if ($productType = $item->getRealProductType()) {
- $renderer = $this->getRenderedBlock()->getColumnHtml($this->getItem(), $productType);
- return $renderer;
29
+ $renderer = $this->getRenderedBlock()->getColumnRenderer(self::COLUMN_NAME, $productType);
30
+ if ($renderer) {
31
+ $renderer->setItem($item);
32
+ $renderer->setField(self::COLUMN_NAME);
33
+ return $renderer->toHtml();
34
+ }
35
+ return ' ';
36
37
return parent::_toHtml();
38
0 commit comments