{** * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. *} {block name='cart_detailed_totals'}
{foreach from=$cart.subtotals item="subtotal"} {if $subtotal && $subtotal.value|count_characters> 0 && $subtotal.type !== 'tax'}
{if $subtotal.type === 'products'} {$cart.summary_string} {else} {$subtotal.label} {/if} {if $subtotal.type === 'discount'} -{$subtotal.value} {elseif $subtotal.type === 'shipping'} {$subtotal.value} {hook h='displayCheckoutSubtotalDetails' subtotal=$subtotal} {else} {$subtotal.value} {/if}
{/if} {/foreach}
{block name='cart_summary_totals'} {include file='checkout/_partials/cart-summary-totals.tpl' cart=$cart} {/block} {block name='cart_voucher'} {include file='checkout/_partials/cart-voucher.tpl'} {/block} {block name='cart_actions'} {include file='checkout/_partials/cart-detailed-actions.tpl' cart=$cart} {/block}
{/block}