How to set all associated products in the entire store to 'not visible individually' I've been scrolling through other answers but I can't seem to find a solution.
How to Set All Child Products to Not Visible Individually in Magento 1.9
magento-1.9PHPproduct
Best Answer
Here is an example script that sets the children of both grouped and configurable products to Not Visible Individually.
Save this in ./shell/makechildrennotvisible.php and run from shell.
EDIT (browser version to process 10 products at a time)
Run this script in the browser as shell/makechildrennotvisible.php?page=1 and increment the page value each time until all products have been procesed. E.g.
www.example.com/shell/makechildrennotvisible.php?page=1
www.example.com/shell/makechildrennotvisible.php?page=2
www.example.com/shell/makechildrennotvisible.php?page=3