3

I added a mass action in my sales->Order grid and i wanna put an action to export the selected commands in CSV file.

I add this function for mass action in app/code/local/Mage/Adminhtml/Block/Sales/Order/Grid.php

 $this->getMassactionBlock()->addItem(
    'Adminhtml',
    array('label' => $this->__('Export'), 
          'url'   => $this->getUrl('Adminhtml/controller/action') //this should be the url where there will be mass operation
    )
); 

But i don't know how to create controller action to my custom mass action

Thank you for help

1 Answer 1

2

Example for extended magento order grid:

Your Answer

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

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