When new product is created in Magento, then how exactly that get saved in Magento database?
Which file & function it is needed to save product in Database?
How can we get newly created product’s Category Id & Product Id from that Magento file or from Code of Magento?
plz guide me.
Use an observer to monitor when a product is saved.
Further reading: