Reputation: 936
As the title said, I really want to remove a bunch of fields in Magento product page but don't know how. I tried to search on Internet but found no revelance.
What I have to do in this situation? I'm new in Magento!
Any help is appreciated.
UPDATE I want to remove field in admin panel.
Upvotes: 0
Views: 1622
Reputation: 380
The method for removing the field depends on whether the field is a default product attribute such as "SKU" or "name" or a custom attribute such as "length".
If you are removing a custom attribute, you can do so in the Magento admin panel under Catalog->Attributes->Manage Attribute Sets by selecting the relevant attribute set and removing the desired field.
I am less certain about removing a core Magento product attribute field, but know the product attribute fields displayed in Catalog->Manage Products-> edit product are added via a php script and not a layout file. The php file for this is app/code/core/Mage/Catalog/Model/Resource/Setup.php. The specific function is "getDefaultEntities()".
Upvotes: 0
Reputation: 531
Start here: Intro to Layouts
Once you understand how layout works, look in your_theme_folder/layout/catalog.xml
. Everything your are interested in is located under <catalog_product_view>
handle.
Good luck.
Upvotes: 1