Files
prestashop/themes/hummingbird/templates/checkout/_partials/cart-summary-subtotals.tpl
2026-04-09 18:31:51 +02:00

21 lines
685 B
Smarty

{**
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*}
<div class="cart-summary__subtotals js-cart-summary-subtotals-container">
{foreach from=$cart.subtotals item="subtotal"}
{if $subtotal && $subtotal.value|count_characters> 0 && $subtotal.type !== 'tax'}
<div class="cart-summary__line" id="cart-subtotal-{$subtotal.type}">
<span class="cart-summary__label">
{$subtotal.label}
</span>
<span class="cart-summary__value">
{if 'discount' == $subtotal.type}-&nbsp;{/if}{$subtotal.value}
</span>
</div>
{/if}
{/foreach}
</div>