Hello,
I would like to number product rows on invoice.
1 product one
2 product two
…
{$lang.code}: {$oi.product_code}{foreach from=$order_info.items item="oi"}
{hook name="orders:items_list_row"}
{if !$oi.extra.parent}
{$oi.product|unescape|default:$lang.deleted_product}
{hook name="orders:product_info"}
{if $oi.product_code}
{/hook}
{if $oi.product_options}
{include file="common_templates/options_info.tpl" product_options=$oi.product_options}{/if}
{$oi.amount}
{if $oi.extra.exclude_from_calculate}{$lang.free}{else}{include file="common_templates/price.tpl" value=$oi.price}{/if}
{if $order_info.use_discount}
{if $oi.extra.discount|floatval}{include file="common_templates/price.tpl" value=$oi.extra.discount}{else} - {/if}
{/if}
{if $order_info.taxes}
{if $oi.tax_value}{include file="common_templates/price.tpl" value=$oi.tax_value}{else} - {/if}
{/if}
{if $oi.extra.exclude_from_calculate}{$lang.free}{else}{include file="common_templates/price.tpl" value=$oi.display_subtotal}{/if}
{/if}
{/hook}
{/foreach}