Enhanced performance of polymer solar cells using PEDOT:PSS doped with Fe3O4 magnetic nanoparticles aligned by an external magnetostatic field as an anode buffer layer.