My Config.xml

                                <product_warranty before="Mage_Adminhtml">product_warranty</product_warranty>

My productcontroller.php

 require_once 'Mage/Adminhtml/controllers/catalog/ProductController.php';
// include_once("Mage/Adminhtml/controllers/Catalog/ProductController.php");
class Product_Warranty_Catalog_ProductController extends Mage_Adminhtml_Catalog_ProductController

    public function saveAction()

        echo "pankaj"; die;


Not working..whats wrong with my code.....

  • remove <global> tag and then try – Qaisar Satti May 24 '16 at 7:36
  • also add the Productcontroller.php file path – Qaisar Satti May 24 '16 at 7:42

remove <global> tag and replace

<product_warranty before="Mage_Adminhtml">product_warranty</product_warranty>


 <Product_Warranty before="Mage_Adminhtml">Product_Warranty</Product_Warranty>
|improve this answer|||||

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