magento 2 load product by id object manager code example
Example: magento load product by id
$productId = 20;
$product = Mage::getModel('catalog/product')->load($productId);
$productId = 20;
$product = Mage::getModel('catalog/product')->load($productId);