How to get product name by id from commerce order? How to get product name by id? I want send mail with product name to customer after confirm commerce order.
A product is an entity, so you can use entity_load().

$product = entity_load('commerce_product', $product_id);
$title = $product-&gt;title;


Commerce provides its own shortcut, though:

$product = commerce_product_load($product_id);
$title = $product-&gt;title;