forked from brooksbingham/theme-elegance
refactor: update product price styles
parent
0a732ef6e4
commit
03d5f057ec
|
@ -28,7 +28,7 @@
|
|||
{if $product.has_discount}
|
||||
<div class="product-discount">
|
||||
{hook h='displayProductPriceBlock' product=$product type="old_price"}
|
||||
<span class="regular-price">{$product.regular_price}</span>
|
||||
<span class="regular-price ">{$product.regular_price}</span>
|
||||
</div>
|
||||
{/if}
|
||||
{/block}
|
||||
|
@ -44,7 +44,7 @@
|
|||
<meta itemprop="priceCurrency" content="{$currency.iso_code}">
|
||||
|
||||
<div class="current-price">
|
||||
<span itemprop="price" content="{$product.price_amount}">{$product.price}</span>
|
||||
<span itemprop="price" class="text-2xl font-normal" content="{$product.price_amount}">{$product.price}</span>
|
||||
|
||||
{if $product.has_discount}
|
||||
{if $product.discount_type === 'percentage'}
|
||||
|
@ -92,8 +92,6 @@
|
|||
<div class="tax-shipping-delivery-label">
|
||||
{if !$configuration.taxes_enabled}
|
||||
{l s='No tax' d='Shop.Theme.Catalog'}
|
||||
{elseif $configuration.display_taxes_label}
|
||||
{$product.labels.tax_long}
|
||||
{/if}
|
||||
{hook h='displayProductPriceBlock' product=$product type="price"}
|
||||
{hook h='displayProductPriceBlock' product=$product type="after_price"}
|
||||
|
|
Loading…
Reference in New Issue