Print commerce pricing attributes to email receipt
&lt;?php

/**
 * Implements hook_token_info().
 */
function mymodule_token_info(){
    $info['tokens']['commerce-order']['line_item_detail'] = array(
        'name' =&gt; t('Line Item Product Detail List'),
        'description' =&gt; t('List all the Product Line Item Detail of the order')
    );
    return $info;
}

/**
 * Implements hook_tokens().
 */
function mymodule_tokens($type, $tokens, array $data = array(), array $options = array()) {
  $replacements = array();

  if($type == 'commerce-order'){
    $order = $data['commerce-order'];
    $order_wrapper = entity_metadata_wrapper('commerce_order',$order);
    $lineItems = $order_wrapper-&gt;commerce_line_items-&gt;value();
    $lineItemArray = array();
    foreach($lineItems as $key =&gt; $value){
        $line_item_wrapper = entity_metadata_wrapper('commerce_line_item',$value);
        if($line_item_wrapper-&gt;type-&gt;value()=='product'){
            $product_title = $line_item_wrapper-&gt;commerce_product-&gt;title-&gt;value();
            $quantity = $line_item_wrapper-&gt;quantity-&gt;value();
            $lineItemArray[] =  $product_title.' x '.$quantity;
        }
    }

    foreach ($tokens as $name =&gt; $original) {
      switch ($name) {
        case 'line_item_detail':
            $variables = array(
                'items' =&gt; $lineItemArray,
                'type' =&gt; 'ul',
            );
            $replacements[$original] = theme('item_list', $variables);
            break;
      }
    }
  }
  return $replacements;
}


This is the sample code. 

You can modify the result you want at hook_tokens().

I hope this will help you.