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

New member

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 141 times


For Sale: Top URL's, including an OpenCart V-Pro Installation, similar to:
http://www.bigmax.ch - http://www.ipcam.li - http://www.jti.li
For Information + URL's offered, please contact me at: jti@jacob.ch
I am NOT available for Custom Support in existing OC Installations!
My Github Repositories: https://github.com/IP-CAM
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!

New member

Posts

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

Users browsing this forum: No registered users and 19 guests