How to Export Simple Product CSV Programmatically using custom Scripts.
Create one custom.php File into the root folder.
and put the below code into a file and run it into the browser.
You can find this CSV inside the root directory
Copy to Clipboard