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