{block name='cart_detailed_totals'}
{foreach from=$cart.subtotals item="subtotal"} {if $subtotal.value && $subtotal.type !== 'tax'} {/if} {/foreach}
Totals
{if 'products' == $subtotal.type} {$cart.summary_string} {else} {$subtotal.label} {/if} {$subtotal.value} {if $subtotal.type === 'shipping'}
{hook h='displayCheckoutSubtotalDetails' subtotal=$subtotal}
{/if}
{$cart.totals.total.label} {$cart.labels.tax_short}
{$cart.subtotals.tax.label}
{$cart.totals.total.value}
{$cart.subtotals.tax.value}
{/block}