PHPackages                             mse-sv3n/m1-lock-attributes - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Admin Panels](/categories/admin)
4. /
5. mse-sv3n/m1-lock-attributes

ActiveMagento-module[Admin Panels](/categories/admin)

mse-sv3n/m1-lock-attributes
===========================

Prevent editing product attributes in admin backend.

1.1.0(7y ago)17OSL-3.0PHP

Since May 31Pushed 7y ago2 watchersCompare

[ Source](https://github.com/sreichel/magento-StackExchange_LockAttributes)[ Packagist](https://packagist.org/packages/mse-sv3n/m1-lock-attributes)[ Docs](https://magento.stackexchange.com/questions/784/read-only-product-backend-attribute)[ RSS](/packages/mse-sv3n-m1-lock-attributes/feed)WikiDiscussions master Synced yesterday

READMEChangelog (4)Dependencies (1)Versions (5)Used By (0)

LockAttributes Magento 1 Extension
==================================

[](#lockattributes-magento-1-extension)

Prevent editing product attributes in admin backend.

[![Codacy Badge](https://camo.githubusercontent.com/f3543eceae97339c0a26b4546760eb7346f3561d9c99fd4acf74538d5094e037/68747470733a2f2f6170692e636f646163792e636f6d2f70726f6a6563742f62616467652f47726164652f6337653039396630666366343461353438646332396239346237626533663337)](https://www.codacy.com/app/sreichel/magento-StackExchange_LockAttributes?utm_source=github.com&utm_medium=referral&utm_content=sreichel/magento-StackExchange_LockAttributes&utm_campaign=Badge_Grade)[![Maintainability](https://camo.githubusercontent.com/be2322ab5632b293c387f18fb8663a92dc8a5e35fc7346a17c4e822a87e50bb2/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f64653565623464343537343131653538633438352f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/sreichel/magento-StackExchange_LockAttributes/maintainability)[![Test Coverage](https://camo.githubusercontent.com/0b7610878a8efeb9f201bee2d6c60b4392c357723e6a9915e3b7131e6871b222/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f64653565623464343537343131653538633438352f746573745f636f766572616765)](https://codeclimate.com/github/sreichel/magento-StackExchange_LockAttributes/test_coverage)

Facts
-----

[](#facts)

- version: 1.1.0
- extension key: StackExchange\_LockAttributes
- [extension on GitHub](https://github.com/sreichel/magento-StackExchange_LockAttributes)

### Description

[](#description)

[Read-Only Product Backend attribute](https://magento.stackexchange.com/questions/784/read-only-product-backend-attribute)

> I would like to create an attribute read only however it look it is not possible.
>
> I have tried to pass to addAttribute() `'disabled' =>true` or `'readonly' => true` with out any success. I have found out some suggestion about using `setLockedAttributes()` but for some reason it is not working
>
> **Reference:**
> `Varien_Data_Form_Element_Abstract::serialize($attributes = array(), $valueSeparator='=', $fieldSeparator=' ', $quote='"')`

### Requirements

[](#requirements)

- PHP &gt;= 5.4.0

### Compatibility

[](#compatibility)

- Magento &gt;= 1.5

#### Installation Instructions

[](#installation-instructions)

- via modman

```
modman clone https://github.com/sreichel/magento-StackExchange_LockAttributes.git

```

- via composer

```
composer require mse-sv3n/m1-lock-attributes

```

#### Uninstallation

[](#uninstallation)

- via modman

```
modman remove magento-stackexchange-lockattributes

```

- via composer

```
composer remove mse-sv3n/m1-lock-attributes

```

### Usage

[](#usage)

1. get to config section and set attributes you want to lock
2. set ACL permission for uses that are still allowed to edit

### Support

[](#support)

If you have any issues with this extension, open an issue on [GitHub](https://github.com/sreichel/magento-StackExchange_LockAttributes/issues).

### Contribution

[](#contribution)

Any contribution is highly appreciated. The best way to contribute code is to open a [pull request on GitHub](https://help.github.com/articles/using-pull-requests).

### License

[](#license)

[OSL - Open Software Licence 3.0](http://opensource.org/licenses/osl-3.0.php)

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~190 days

Total

4

Last Release

2698d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/5022236?v=4)[Sven Reichel](/maintainers/sreichel)[@sreichel](https://github.com/sreichel)

---

Top Contributors

[![sreichel](https://avatars.githubusercontent.com/u/5022236?v=4)](https://github.com/sreichel "sreichel (12 commits)")

---

Tags

configurationmagento-1openmageopenmage-moduleproduct-attributes

### Embed Badge

![Health badge](/badges/mse-sv3n-m1-lock-attributes/health.svg)

```
[![Health](https://phpackages.com/badges/mse-sv3n-m1-lock-attributes/health.svg)](https://phpackages.com/packages/mse-sv3n-m1-lock-attributes)
```

###  Alternatives

[dmstr/yii2-adminlte-asset

AdminLTE backend theme asset bundle for Yii 2.0 Framework

1.1k1.8M67](/packages/dmstr-yii2-adminlte-asset)[dwij/laraadmin

LaraAdmin is a Open source Laravel Admin Panel / CMS which can be used as Admin Backend, Data Management Tool or CRM boilerplate for Laravel with features like CRUD Generation, Module Manager, Media, Menus, Backups and much more

1.6k68.7k](/packages/dwij-laraadmin)[filament/spatie-laravel-media-library-plugin

Filament support for `spatie/laravel-medialibrary`.

1764.8M125](/packages/filament-spatie-laravel-media-library-plugin)[filament/infolists

Easily add beautiful read-only infolists to any Livewire component.

1220.8M36](/packages/filament-infolists)[magefan/module-admin-user-guide

Admin panel user guides.

132.5M1](/packages/magefan-module-admin-user-guide)[resma/filament-awin-theme

A modern, responsive, and customizable theme for FilamentPHP, designed to elevate your admin panel with a sleek interface and seamless user experience.

1714.6k](/packages/resma-filament-awin-theme)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
