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}
|
{/block}
|
||||||
<div class="product-description flex flex-col pt-4 group-hover:text-blue-900 gap-1">
|
<div class="product-description flex flex-col pt-4 group-hover:text-blue-900 gap-1">
|
||||||
{block name='product_price_and_shipping'}
|
{block name='product_price_and_shipping'}
|
||||||
<div class="flex w-full justify-between items-center">
|
<div class="flex flex-col w-full items-start">
|
||||||
{if $product.has_discount}
|
|
||||||
<span class="regular-price line-through leading-none font-medium">{$product.regular_price}</span>
|
|
||||||
{/if}
|
|
||||||
{if $product.show_price}
|
{if $product.show_price}
|
||||||
<div class="font-bold text-lg">
|
<div class="font-bold text-lg">
|
||||||
<span>{$product.price}</span>
|
<span>{$product.price}</span>
|
||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
|
{if $product.has_discount}
|
||||||
|
<span class="regular-price line-through leading-none text-sm font-medium">{$product.regular_price}</span>
|
||||||
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
{/block}
|
{/block}
|
||||||
{block name='product_name'}
|
{block name='product_name'}
|
||||||
|
|
Loading…
Reference in New Issue