You should now be able to select products in the grid using the check box and in the actions dropdown select “Change attribute set” and select a new attribute set then press submit.
The Grid.php changes have taken just fine, I can see the changes on the front end. The controller override doesn’t seem to be loaded from the local tree (an error_log() shows the core version still being loaded, not the local) .. can we override the controllers files like this?
Having just cloned (Duplicated in Magento ‘Product’ speak) I realised I wanted to move it out of the attribute set it was in, so this custom bit of code damian34 is awesome, thanks very much.
Two things of note.
a) I will have to remember to make a note of files I’ve changed because I’m assuming if user ‘alterations’ to code don’t get included in future releases any changes will be overwritten when we upgrade. What do others do here when it comes to that?
b) I didn’t notice the lcoation of the select (drop-down box) for the Action field to start with. I was looking along to the far right hand side colum which is labelled as Action, but there’s only one option as we all know and that’s to Edit. Once I noticed the new controls, upon using them it worked flawlessly!
Have been unable to get it to work in local too, did try it as a module to override the base class with an extended class which did work but because of the nature of how to implement custom overridden controllers I was unable to get the redirect after the update to go back properly so didn’t bother trying to figure it out.
Just re-applied to 1.1.3 so it would be nice if it was added in to the core code.
I’ll go ahead and move it back into core and just reapply after update if needed. It doesn’t affect the core functionality of the frontend so I’m ok doing that