Skip to content

Commit 3a02e8a

Browse files
committed
feat: add unit price on summary
1 parent 777a291 commit 3a02e8a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

templates/checkout/_partials/cart-summary-product-line.tpl

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -91,12 +91,12 @@
9191
</div>
9292
{/if}
9393

94-
{if $product.has_discount}
95-
<div class="{$componentName}__price">
96-
<span class="label">{$product.price}</span>
94+
<div class="{$componentName}__price">
95+
<span class="label">{$product.price}</span>
96+
{if $product.has_discount}
9797
<span class="value">{$product.regular_price}</span>
98-
</div>
99-
{/if}
98+
{/if}
99+
</div>
100100

101101
{if $product.unit_price_full}
102102
<div class="{$componentName}__unit-price">

0 commit comments

Comments
 (0)