mse-sv3n / m1-lock-attributes
Prevent editing product attributes in admin backend.
Installs: 7
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 4
Forks: 0
Open Issues: 0
Type:magento-module
Requires
This package is auto-updated.
Last update: 2024-11-24 14:42:39 UTC
README
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
modman clone https://github.com/sreichel/magento-StackExchange_LockAttributes.git
- via composer
composer require mse-sv3n/m1-lock-attributes
Uninstallation
- via modman
modman remove magento-stackexchange-lockattributes
- via composer
composer remove mse-sv3n/m1-lock-attributes
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.