mse-sv3n/m1-lock-attributes
Composer 安装命令:
composer require mse-sv3n/m1-lock-attributes
包简介
Prevent editing product attributes in admin backend.
README 文档
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' =>trueor'readonly' => truewith 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.
License
统计信息
- 总下载量: 7
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: OSL-3.0
- 更新时间: 2018-12-22