forked from brooksbingham/theme-elegance
Merge pull request 'refactor: conditionally display product price' (#3) from abhisheks/theme-elegance:main into main
Reviewed-on: brooksbingham/theme-elegance#3staging
commit
b0436f56b9
|
@ -46,9 +46,11 @@
|
|||
{if $product.has_discount}
|
||||
<span class="regular-price line-through leading-none font-medium">{$product.regular_price}</span>
|
||||
{/if}
|
||||
<div class="font-bold text-lg">
|
||||
<span>{$product.price}</span>
|
||||
</div>
|
||||
{if $product.show_price}
|
||||
<div class="font-bold text-lg">
|
||||
<span>{$product.price}</span>
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
{/block}
|
||||
{block name='product_name'}
|
||||
|
|
Loading…
Reference in New Issue