<{* Lande (#1363): ordrens valuta, når ordren er i en anden valuta end den, siden vises i *}> <{if $order && $order->getCurrency() != $webshop->getCurrency()}><{$currency = $order->getCurrency()}><{/if}> <{assign var="show_order_summary" value=$show_order_summary|default:true}> <{assign var="is_order" value=$is_order|default:false}> <{section name="i" loop=$products}> <{if $is_order && !$products[i]->getFromBundle()}> <{assign var="images" value=$products[i]->getImages()}> <{if $images}> <{/if}> <{* Bundle sub-products: find order products that belong to this bundle *}> <{if $show_bundle_contents|default:true}> <{assign var="_has_bundle_items" value=false}> <{section name="j" loop=$products}> <{if $products[j]->getFromBundle() && $products[j]->getBundleProductId() == $products[i]->getProductId()}> <{assign var="_has_bundle_items" value=true}> <{/if}> <{/section}> <{if $_has_bundle_items}> <{/if}> <{/if}> <{elseif !$is_order}> <{assign var="images" value=$products[i]->getImages()}> <{if $images}> <{/if}> <{/if}> <{/section}> <{* Deposit lines (pant, #645) — separate order lines, shown like a supermarket receipt *}> <{if $is_order}> <{$deposit_lines = $order->getDepositLines()}> <{if $deposit_lines}> <{foreach $deposit_lines as $deposit_line}> <{/foreach}> <{/if}> <{/if}> <{if $show_order_summary}> <{/if}>