简体   繁体   中英

How to Overriding Mage_Catalog_Block_Product_View_Options_Type_Select.php in Magento

I am new user of Magento (in customization). I want to override Mage_Catalog_Block_Product_View_Options_Type_Select.php file in local folder. Till I am doing overriding functionality.

Please can any one suggest me which steps should I follow for override this file. And for overriding which other files need to add in local folder.

There are two way to do it

  1. if you want to just override block then copy that file from core to your local folder, please maintain the same folder structure as core.

  2. second way I think this is the bese way to do it by creating an extension you can get more details from here

http://inchoo.net/magento/overriding-magento-blocks-models-helpers-and-controllers/

Let me know if you have any query

Thanks

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM