diff --git a/Block/System/Config/Field/Readonlyfield.php b/Block/System/Config/Field/Readonlyfield.php new file mode 100644 index 00000000..62e64846 --- /dev/null +++ b/Block/System/Config/Field/Readonlyfield.php @@ -0,0 +1,15 @@ +setData('readonly', 'readonly'); + return $element->getElementHtml(); + } +} diff --git a/etc/adminhtml/system.xml b/etc/adminhtml/system.xml index d4807160..f34bc49a 100644 --- a/etc/adminhtml/system.xml +++ b/etc/adminhtml/system.xml @@ -216,8 +216,8 @@ 1 - - 1 + + Extend\Warranty\Block\System\Config\Field\Readonlyfield 0 - + + Extend\Warranty\Block\System\Config\Field\Readonlyfield