Im not sure what it is your trying to do but looking at the code you have for order_data_provider.tpl it looks as if the code is incomplete.
The section code does not get closed
This is the code form order_data.tpl in its complete form.
Code:
{section name=prod_num loop=$products}
{$lng.lbl_sku}: {$products[prod_num].productcode}
{$lng.lbl_product}: {$products[prod_num].product}
{$lng.lbl_quantity}: {$products[prod_num].amount}
{if $products[prod_num].product_options ne ""}
{$lng.lbl_selected_options}:
{$products[prod_num].product_options|replace:"\n":"\n "}
{/if}
{$lng.lbl_item_price}: {include file="currency.tpl" value=$products[prod_num].price}
{/section}