Magento\ConfigurableProduct\Ui\DataProvider\Product\Form\Modifier\ConfigurablePanel.php
Find function getRows() and add the heading. Like :- ‘manufacturer_country’ => $this->getColumn(‘manufacturer_country’, __(‘Manufacturer Country’)),
Working Example for ConfigurablePanel.php
php
protected function getRows()
{
return [
'record' => [
'arguments' => [
'data' => [
'config' => [
'componentType' => Container::NAME,
'isTemplate' => true,
'is_collection' => true,
'component' => 'Magento_Ui/js/dynamic-rows/record',
'dataScope' => '',
],
],
],
'children' => [
'thumbnail_image_container' => $this->getColumn(
'thumbnail_image',
__('Image'),
[
'fit' => true,
'formElement' => 'fileUploader',
'componentType' => 'fileUploader',
'component' => 'Magento_ConfigurableProduct/js/components/file-uploader',
'elementTmpl' => 'Magento_ConfigurableProduct/components/file-uploader',
'fileInputName' => 'image',
'isMultipleFiles' => false,
'links' => [
'thumbnailUrl' => '${$.provider}:${$.parentScope}.thumbnail_image',
'thumbnail' => '${$.provider}:${$.parentScope}.thumbnail',
'smallImage' => '${$.provider}:${$.parentScope}.small_image',
'__disableTmpl' => [
'thumbnailUrl' => false,
'thumbnail' => false,
'smallImage' => false
],
],
'uploaderConfig' => [
'url' => $this->urlBuilder->getUrl(
'catalog/product_gallery/upload'
),
],
'dataScope' => 'image',
],
[
'elementTmpl' => 'ui/dynamic-rows/cells/thumbnail',
'fit' => true,
'sortOrder' => 0
]
),
'name_container' => $this->getColumn(
'name',
__('Name'),
[],
['dataScope' => 'product_link']
),
'sku_container' => $this->getColumn(
'sku',
__('SKU'),
[
'validation' => [
'required-entry' => true,
'max_text_length' => Sku::SKU_MAX_LENGTH,
],
],
[
'elementTmpl' => 'Magento_ConfigurableProduct/components/cell-sku',
]
),
'price_container' => $this->getColumn(
'price',
__('Price'),
[
'imports' => [
'addbefore' => '${$.provider}:${$.parentScope}.price_currency',
'__disableTmpl' => ['addbefore' => false],
],
'validation' => ['validate-zero-or-greater' => true]
],
['dataScope' => 'price_string']
),
'quantity_container' => $this->getColumn(
'quantity',
__('Quantity'),
['dataScope' => 'qty'],
['dataScope' => 'qty']
),
'price_weight' => $this->getColumn('weight', __('Weight')),
'status' => [
'arguments' => [
'data' => [
'config' => [
'componentType' => 'text',
'component' => 'Magento_Ui/js/form/element/abstract',
'template' => 'Magento_ConfigurableProduct/components/cell-status',
'label' => __('Status'),
'dataScope' => 'status',
],
],
],
],
'manufacturer_country' => $this->getColumn('manufacturer_country', __('Manufacturer Country')), // here we added heading for manufacturer country
'attributes' => [
'arguments' => [
'data' => [
'config' => [
'componentType' => Form\Field::NAME,
'formElement' => Form\Element\Input::NAME,
'component' => 'Magento_Ui/js/form/element/text',
'elementTmpl' => 'ui/dynamic-rows/cells/text',
'dataType' => Form\Element\DataType\Text::NAME,
'label' => __('Attributes'),
],
],
],
],
'actionsList' => [
'arguments' => [
'data' => [
'config' => [
'additionalClasses' => 'data-grid-actions-cell',
'componentType' => 'text',
'component' => 'Magento_Ui/js/form/element/abstract',
'template' => 'Magento_ConfigurableProduct/components/actions-list',
'label' => __('Actions'),
'fit' => true,
'dataScope' => 'status',
],
],
],
],
],
],
];
}