1

In project I have added an attribute Status in Dropdown. I want to hide that attribute on adding product page. While Managing Attribute there is no such configuration to hide Attribute. Is there any way to hide attribute on product page ?
Thanks in advance.

1 Answer 1

2

If I understand your question correctly, you don't want that attribute to be displayed on the Add/Edit Product page from admin, right?

If so, that's not possible by default on Magento.

If you want it to be displayed only on certain products you can try attribute sets. Adding that specific attribute to a specific attribute set will make it visible only to the products that have that attribute set.

But, if you really want to hide it you could try this in a setup script:

 $installer->updateAttribute('catalog_product', $attribute_code, 'is_visible', '0');

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.