Download the PHP package mse-sv3n/m1-lock-attributes without Composer
On this page you can find all versions of the php package mse-sv3n/m1-lock-attributes. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mse-sv3n/m1-lock-attributes
More information about mse-sv3n/m1-lock-attributes
Files in mse-sv3n/m1-lock-attributes
Package m1-lock-attributes
Short Description This extension adds availability to prevent product attributes from editing in admin backend.
License OSL-3.0
Homepage https://magento.stackexchange.com/questions/784/read-only-product-backend-attribute
Informations about the package m1-lock-attributes
LockAttributes Magento 1 Extension
Prevent editing product attributes in admin backend.
Facts
- version: 1.1.0
- extension key: StackExchange_LockAttributes
- extension on GitHub
Description
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 usingsetLockedAttributes()
but for some reason it is not workingReference:
Varien_Data_Form_Element_Abstract::serialize($attributes = array(), $valueSeparator='=', $fieldSeparator=' ', $quote='"')
Requirements
- PHP >= 5.4.0
Compatibility
- Magento >= 1.5
Installation Instructions
-
via modman
- via composer
Uninstallation
-
via modman
- via composer
Usage
- get to config section and set attributes you want to lock
- set ACL permission for uses that are still allowed to edit
Support
If you have any issues with this extension, open an issue on GitHub.
Contribution
Any contribution is highly appreciated. The best way to contribute code is to open a pull request on GitHub.