Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9021899
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T05:22:03+00:00 2026-06-16T05:22:03+00:00

In Magento Admin -> Catalog -> Manage Products, I’d like to disable a couple

  • 0

In Magento Admin -> Catalog -> Manage Products, I’d like to disable a couple of product fields so that administrators can’t edit them.

Essentially turning this:
enter image description here

into this: enter image description here

Magento pulls the field HTML in via the template at adminhtml/default/default/template/catalog/form/renderer/fieldset/element.phtml, via the function getElementHtml() but I can’t find the place where the actual <input> HTML is being constructed.

Besides, there’s probably a more modular way of doing this, rather than just editing the template’s HTML.

Any thoughts?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T05:22:04+00:00Added an answer on June 16, 2026 at 5:22 am

    I discovered a similar question, here, which led me to the solution:

    1. Open up app\design\adminhtml\default\default\template\catalog\form\renderer\fieldset\element.phtml

    2. Find the line which reads <?php $this->checkFieldDisable() ?>

    3. Underneath this, insert this block (edit “sku” to whatever you need):

    <?php

    // Disable editing of SKU field

    if ($_element->name == "sku") {

    $_element->setDisabled(true);

    }

    ?>

    There may be an even more elegant way of doing this, such as setting the “disabled” option somewhere in the database, but since these are system attributes I doubt it. This works!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i am writing a magento product exporter, that writes a couple of attributes into
Simply put, I'm getting this error in the Product Admin of Magento after adding
Magento 1.7.0.0 ok i'm using the product tabs that are available in the modern
I have some simple catalog products in Magento, so I have their SKUs &
The way I am using Magento is like this: We are using Magento admin/dashboard
In Magento admin section, When I am trying relate the products with the wordpress
I have 2 products categories in my Magento admin. Category one, has 5 products
@ /index.php/admin/system_config/edit/section/design/ Does adding to Magento's Miscellaneous scripts field affect every page in the
I am importing a products csv from Magento admin. I want to know which
I need to upload my customized excel file in magento admin panel. This excel

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.