Post by sterikal » Tue Feb 05, 2019 3:57 pm

Is there a way to remove the Ex Tax price from Product pages? I'm using 2.3.02
Cheers
Marc

New member

Posts

Joined
Sat Nov 12, 2016 5:33 pm

Post by kestas » Tue Feb 05, 2019 4:40 pm

Find in file: catalog/view/theme/default/template/product/product.tpl

Code: Select all

<?php if ($tax) { ?>
          <li><?php echo $text_tax; ?> <?php echo $tax; ?></li> 
            <?php } ?>
replace with:

Code: Select all

<?php if ($tax) { ?>
          <!--  <li><?php echo $text_tax; ?> <?php echo $tax; ?></li> -->
            <?php } ?>

Custom OpenCart modules and solutions. You can write PM with additional questions... Extensions you can find here


Active Member

Posts

Joined
Tue Oct 12, 2010 2:23 am

Post by sterikal » Tue Feb 05, 2019 7:23 pm

That's great. Thanks for your help.

New member

Posts

Joined
Sat Nov 12, 2016 5:33 pm

Post by David_ARMAstrong » Sat Jan 16, 2021 4:10 am

I only have product.twig at this location and I can't find this code there. Is there an updated fix.


Posts

Joined
Tue Dec 29, 2020 5:59 am

Post by by mona » Sat Jan 16, 2021 5:53 am

No OC version posted, please remember in future but around line 145 product.twig

Code: Select all

{% if tax %}
            <li>{{ text_tax }} {{ tax }}</li>
            {% endif %}
to

Code: Select all

{% if tax %}
           {#  <li>{{ text_tax }} {{ tax }}</li> #}
            {% endif %}

DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.


https://www.youtube.com/watch?v=zXIxDoCRc84


User avatar
Expert Member

Posts

Joined
Mon Jun 10, 2019 9:31 am
Who is online

Users browsing this forum: Amazon [Bot], dparakhiya and 391 guests