Get Product details Using Product Name in Magento

This post is how to get product id using product name. This code will show you list of all product id related name of your product name.


NOTE : This code is not ideal way to get product id. Do you have any better way than please share heat with us, we will appreciate it.

Use this code for Get Product details Using Product Id