Jump to content

How to make pre-tax price as default price that shows up?


Recommended Posts

Hi Guys,

 

wondering if there's anyway to make the pre-tax price shows up as the default price.

Right now I have "Display pre-tax price on product page" already enabled under product settings.

 

thanks for your help!

806_q6KMbDEzETo9d1H1FD3a_t

808_oZZ92P5PD4EdQmJyVPVj_t

Link to comment
Share on other sites

I add another question,

please how can I set rounding of the prices? Since the price with VAT is calculated automatically from the price without VAT, I have prices like 15.7631 instead 16 that I would like to have.

Link to comment
Share on other sites

I am playing around with th product.tpl in theme/default and came across these codes.

How can I edit it so the bold red text is the pre-tax price?

 


<!-- Product price with tax -->

<div class="big_price" id="price">

{convertPrice price=$product->getPrice(true, NULL, 2)}

</div>

 

<!-- Product price without tax -->

{if $displayPreTax AND $display_ht AND $product->id_tax}

<div>

<span id="pretax-price">{convertPrice price=$product->getPrice(false, NULL, 2)}</span>  {l s='pre-tax'}

</div>

{/if}

 

Link to comment
Share on other sites

  • 4 years later...
×
×
  • Create New...