1

I am working on multi website for a single admin.

I need to change the store URL parameter after saving a product. In which function does the redirection after saving a product happen?

1 Answer 1

1
app/code/core/Mage/Adminhtml/contollers/Catalog/ProductController.php

on line 714 this function

public function saveAction()
    {

}

you can check the redirection in end of function

8
  • When i use this file in local folder but it is not work for me, it takes only core file.
    – Mathew
    Oct 22, 2015 at 10:41
  • you cannot copy the controller into local and edit because controller need to override the controller. Oct 22, 2015 at 10:46
  • How can i do this.
    – Mathew
    Oct 22, 2015 at 10:47
  • inchoo.net/dev-talk/how-to-extend-magento-core-controller follow this link Oct 22, 2015 at 10:49
  • In provided example "Frontend" folder is used so it is correct to use because i think here i am working for admin section.
    – Mathew
    Oct 22, 2015 at 11:04

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.