forked from brooksbingham/theme-elegance
chore: update product miniature to change discount and original price positioning
parent
3df8252f70
commit
96590099d2
|
@ -42,15 +42,15 @@
|
|||
{/block}
|
||||
<div class="product-description flex flex-col pt-4 group-hover:text-blue-900 gap-1">
|
||||
{block name='product_price_and_shipping'}
|
||||
<div class="flex w-full justify-between items-center">
|
||||
{if $product.has_discount}
|
||||
<span class="regular-price line-through leading-none font-medium">{$product.regular_price}</span>
|
||||
{/if}
|
||||
<div class="flex flex-col w-full items-start">
|
||||
{if $product.show_price}
|
||||
<div class="font-bold text-lg">
|
||||
<span>{$product.price}</span>
|
||||
</div>
|
||||
{/if}
|
||||
{if $product.has_discount}
|
||||
<span class="regular-price line-through leading-none text-sm font-medium">{$product.regular_price}</span>
|
||||
{/if}
|
||||
</div>
|
||||
{/block}
|
||||
{block name='product_name'}
|
||||
|
|
Loading…
Reference in New Issue