{config_load file="$language.conf" section="products"}

{foreach from=$bought_products item=product name=products}

<div style="border-bottom: 1px solid #e9e9e9; padding-top: 2px; padding-bottom: 3px;--cursor: pointer;">
  <div style="width: 165px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        display: inline;
        float: right;
        " title="{$product.products_name}">{$product.total_quantity} x {$product.products_name}
    <div style="text-align: right">{$product.turnover}</div>
  </div>
  <img src="{$product.products_image_src}" title="{$product.products_name}" style="height: 24px;">
</div>
{if $smarty.foreach.products.last}
{if $more_products > 0}
<div style="cursor: pointer; font: inherit" onclick="return openBeezDeskDialog('{$LA_CONTEXT_VIEW_URL}');">
  + {$more_products} {if $more_products > 1}{#more_products#}{else}{#more_product#}{/if}
</div>
{/if}
{/if}
{foreachelse}

<p><br>{#no_product#}</p>

{/foreach}