44 lines
1.8 KiB
Smarty
44 lines
1.8 KiB
Smarty
{*
|
|
* 2021 Anvanto
|
|
*
|
|
* NOTICE OF LICENSE
|
|
*
|
|
* This file is not open source! Each license that you purchased is only available for 1 wesite only.
|
|
* If you want to use this file on more websites (or projects), you need to purchase additional licenses.
|
|
* You are not allowed to redistribute, resell, lease, license, sub-license or offer our resources to any third party.
|
|
*
|
|
* @author Anvanto <anvantoco@gmail.com>
|
|
* @copyright 2021 Anvanto
|
|
* @license Valid for 1 website (or project) for each purchase of license
|
|
* International Registered Trademark & Property of Anvanto
|
|
*}
|
|
<div class="card-block cart-summary-totals js-cart-summary-totals">
|
|
{block name='cart_summary_tax'}
|
|
{if $cart.subtotals.tax}
|
|
<div class="cart-summary-line">
|
|
<span class="label sub">{l s='%label%:' sprintf=['%label%' => $cart.subtotals.tax.label] d='Shop.Theme.Global'}</span>
|
|
<span class="value sub">{$cart.subtotals.tax.value}</span>
|
|
</div>
|
|
{/if}
|
|
{/block}
|
|
{block name='cart_summary_total'}
|
|
{if !$configuration.display_prices_tax_incl && $configuration.taxes_enabled}
|
|
<div class="cart-summary-line">
|
|
<span class="label">{$cart.totals.total.label} {$cart.labels.tax_short}</span>
|
|
<span class="value">{$cart.totals.total.value}</span>
|
|
</div>
|
|
<div class="cart-summary-line cart-total">
|
|
<span class="label">{$cart.totals.total_including_tax.label}</span>
|
|
<span class="value">{$cart.totals.total_including_tax.value}</span>
|
|
</div>
|
|
{else}
|
|
<div class="cart-summary-line cart-total">
|
|
<span class="label">{$cart.totals.total.label} {if $configuration.taxes_enabled}{$cart.labels.tax_short}{/if}</span>
|
|
<span class="value">{$cart.totals.total.value}</span>
|
|
</div>
|
|
{/if}
|
|
{/block}
|
|
|
|
|
|
|
|
</div> |