Jump to content

swich off price rounding


Recommended Posts

Hi all, my presta began rounding up prices. In BO is set "Round mode: classical". In product.tpl is 

<p class="our_price_display">
{if $priceDisplay >= 0 && $priceDisplay <= 2}
<!--<span id="our_price_display">{convertPrice price=$productPrice}</span> -->
                    
                    <span id="pretaxe_price">Cena bez DPH:  <span id="pretaxe_price_display">{convertPrice price=$product->getPrice(false, $smarty.const.NULL, 2)}</span> </span><br />
 Cena vč. DPH:  <span id="our_price_display">{convertPrice price=$productPrice}</span>
{if $tax_enabled  && ((isset($display_tax_label) && $display_tax_label == 1) OR !isset($display_tax_label))}
{if $priceDisplay == 1}<!--{l s='tax excl.'} -->{else}<!--{l s='tax incl.'} -->{/if}
{/if}
{/if}
</p>

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...