|
|
{txt key=TEXT_QTY} |
{txt key=TEXT_SINGLE_PRICE} |
{txt key=TEXT_TOTAL_PRICE} |
{if $calculation.products_price_calc.single.plain}
|
{txt key=TEXT_XT_PRODUCT_OPTIONS_SINGLE_PRICE_CALC} |
{$smarty.request.qty} |
{$calculation.products_price_calc.single.formated} |
{$calculation.products_price_calc.total.formated} |
{else}
|
{txt key=TEXT_XT_PRODUCT_OPTIONS_SINGLE_PRICE_CLEAN} |
{$smarty.request.qty} |
{$calculation.products_price.single.formated} |
{$calculation.products_price.total.plain|string_format:"%.2f"|replace:".":","} EUR |
{/if}
{foreach name=aussen item=info from=$options}
{foreach name=innem item=op from=$info.option_group_values}
{if $op.option_type != "calculation" || ($op.option_type == "calculation" && $op.option_group_calc_type != 'products_price') }
+ |
{$op.option_group_name}/{$op.option_value_name} |
{if $op.option_calc_type == 'multi'}{math equation="x * y" x=$smarty.request.qty y=$op.option_count}{elseif $op.option_calc_type == 'single'}{if $smarty.request.qty > 0}1{else}0{/if}{/if} |
{if $op.option_price_array.plain > 0}{$op.option_price_array.formated}{else} - {/if} |
{if $op.option_price_total_array.plain > 0}{$op.option_price_total_array.plain|string_format:"%.2f"|replace:".":","} EUR{else} - {/if} |
{/if}
{/foreach}
{/foreach}
|
{txt key=TEXT_TOTAL} |
|
|
{$calculation.products_price_total.total.plain|string_format:"%.2f"|replace:".":","} EUR |