Post by ZombieDude666 » Sat Sep 23, 2017 11:46 pm

Hi folks, I dont want my site to show the tax on each items, however it shows up on the items whn they appear in the related items section. How do I turn this off plz?

Example: http://killercomicsfromouterspace.co.uk ... duct_id=40

Thanks folks! ;D

Newbie

Posts

Joined
Fri Jun 09, 2017 12:09 am

Post by IP_CAM » Sun Sep 24, 2017 3:11 am

In your catalog/view/theme/yourtheme/template/product/product.tpl File,
FIND this, or something very similar to it:

Code: Select all

 <?php if ($product['tax']) { ?>
                <span class="price-tax"><?php echo $text_tax; ?> <?php echo $product['tax']; ?></span>
                <?php } ?>
and replace it with this::

Code: Select all

<!-- <?php if ($product['tax']) { ?>
                <span class="price-tax"><?php echo $text_tax; ?> <?php echo $product['tax']; ?></span>
                <?php } ?> -->
in order to prevent the Line from beeing displayed.
Good Luck! ;)
Ernie

Attachments

hide_ex_tax_line_in_related.png

Source Code of your Product Page - hide_ex_tax_line_in_related.png (14.68 KiB) Viewed 71 times


Ernie's OpenShop v.1.75 + OpenCart v.1.5.6.5 LIGHT Test Sites with free responsive Themes
http://www.bigmax.ch/shop/ - http://www.ebikes.li - http://www.ipc.li/shop/ - http://www.openshop.li/shop/
Image


User avatar
Guru Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by ZombieDude666 » Sun Sep 24, 2017 4:15 am

Thanks again, Ernie!

Newbie

Posts

Joined
Fri Jun 09, 2017 12:09 am
Who is online

Users browsing this forum: bonnie65 and 39 guests