forked from brooksbingham/theme-elegance
fix: update condition in cart summary subtotals template
parent
00eb3abc94
commit
944dccb70b
|
@ -25,7 +25,7 @@
|
||||||
|
|
||||||
<div class="flex">
|
<div class="flex">
|
||||||
{foreach from=$cart.subtotals item="subtotal"}
|
{foreach from=$cart.subtotals item="subtotal"}
|
||||||
{if $subtotal.value && $subtotal.type !== 'tax'}
|
{if $subtotal && $subtotal.value|count_characters > 0 && $subtotal.type !== 'tax'}
|
||||||
<div class="flex justify-between font-medium" id="cart-subtotal-{$subtotal.type}">
|
<div class="flex justify-between font-medium" id="cart-subtotal-{$subtotal.type}">
|
||||||
<span>
|
<span>
|
||||||
{$subtotal.label}
|
{$subtotal.label}
|
||||||
|
|
Loading…
Reference in New Issue