forked from brooksbingham/theme-elegance
fix: update condition in cart summary subtotals template
parent
00eb3abc94
commit
944dccb70b
|
@ -25,7 +25,7 @@
|
|||
|
||||
<div class="flex">
|
||||
{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}">
|
||||
<span>
|
||||
{$subtotal.label}
|
||||
|
|
Loading…
Reference in New Issue