Post by dekko » Tue May 15, 2012 8:46 pm

Underneath the price on the product page it displays 'Ex Tax:'
As all my prices include tax I want to get rid of this - how can I do that?
I am using version 1.5.2.1

New member

Posts

Joined
Tue May 15, 2012 8:41 pm

Post by straightlight » Tue May 15, 2012 9:17 pm

In product.tpl file,

find:

Code: Select all

<?php if ($tax) { ?>
        <span class="price-tax"><?php echo $text_tax; ?> <?php echo $tax; ?></span><br />
        <?php } ?>
remove it.

If you just want to remove the text and keep the tax value,

simply replace with:

Code: Select all

<?php if ($tax) { ?>
        <span class="price-tax"><?php echo $tax; ?></span><br />
        <?php } ?>

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by dekko » Tue May 15, 2012 9:47 pm

Many thanks for that quick and knowledgeable reply - much appreciated

New member

Posts

Joined
Tue May 15, 2012 8:41 pm

Post by sundev » Wed Nov 06, 2013 9:11 pm

in case of new user that might found this, simple install this FREE Extension to hide EX TAX.

Click or Copy the link below to your browser to find the Extension. ;)

http://www.opencart.com/index.php?route ... n_id=11050

Newbie

Posts

Joined
Thu Sep 19, 2013 12:13 am
Who is online

Users browsing this forum: Amazon [Bot] and 35 guests