Post by TackleResource » Mon Jul 04, 2011 1:43 am

Hey,

I would like to remove the Ex Tax feature from being shown. I looked all over the place in order to disable it but could not find it anywhere within the admin. Is there an extention or something I can purchase to make this happen?

I would like my cart to only show the Taxes on the checkout page when the customer see's the total. The Ex Tax is not required in the US and Taxes are only charged to customers from the state in which my business is located.


Thanks for the help!

Korey


Posts

Joined
Mon Jul 04, 2011 1:39 am

Post by snappyfish » Mon Jul 04, 2011 5:41 am

To remove from the main product pages I commented out these lines of code in product.tpl

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

Active Member

Posts

Joined
Thu Apr 14, 2011 4:36 am

Post by TackleResource » Mon Jul 04, 2011 11:37 am

Awesome, would you happen to know how to remove it from the Category Page??


Posts

Joined
Mon Jul 04, 2011 1:39 am

Post by TackleResource » Mon Jul 04, 2011 11:38 am

I did try and locate the same code on the Category.tpl page but had no luck!


Posts

Joined
Mon Jul 04, 2011 1:39 am

Post by TackleResource » Mon Jul 04, 2011 11:41 am

Nevermind! Wow you really taught me something!!! The code to remove it from Category page is:

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

Thanks for the help!


Posts

Joined
Mon Jul 04, 2011 1:39 am

Post by xds » Mon Jul 11, 2011 6:11 pm

In 1.5:
All you have to do is go to System > Settings then edit store then Option tab and set Display Prices With Tax to no

Thanks for 1.5!


xds
New member

Posts

Joined
Mon Jul 12, 2010 9:53 am

Post by snappyfish » Mon Jul 11, 2011 9:13 pm

xds wrote:In 1.5:
All you have to do is go to System > Settings then edit store then Option tab and set Display Prices With Tax to no
That's not what he wanted to do. . . . :-\ The previous answer was correct. ;)

Active Member

Posts

Joined
Thu Apr 14, 2011 4:36 am

Post by TackleResource » Sun Jul 24, 2011 11:03 am

Yes, the first way was 100% what I wanted!


Posts

Joined
Mon Jul 04, 2011 1:39 am

Post by uksitebuilder » Sun Jul 24, 2011 2:50 pm

alternative way just for the curious

edit stylesheet.css

find: price-tax

I think there are approx 3

change to: display:none;

ImageImageImageImageImage

For Friendly Professional Support - Click Here


User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by kochtail » Tue Jan 24, 2012 1:55 am

I am not a programmer, but would love to be able to have "incl. tax" instead. This is for Germany, where tax is always included. On the invoice it would need to be shown. Possible?
Many thanks.

Newbie

Posts

Joined
Tue Jan 24, 2012 1:52 am

Post by picobo » Tue Feb 14, 2012 10:27 am

You can find a vQmod for this in the following thread: http://forum.opencart.com/viewtopic.php ... 48#p250899

Newbie

Posts

Joined
Sat Feb 11, 2012 6:59 am

Post by Ozfarmer » Wed Feb 22, 2012 7:33 am

Thanks picobo, needed that!

Active Member

Posts

Joined
Wed Aug 17, 2011 7:08 pm
Location - Australia

Post by a2z » Tue May 01, 2012 9:45 am

Hi, I am using opencart 1.5.2.1 and haven't found any of the files mentioned in the above posts. Can you please let me know where I can remove ex tax from.

Thanks

a2z
New member

Posts

Joined
Tue May 01, 2012 9:43 am

Post by a2z » Thu May 03, 2012 12:40 am

xds wrote:In 1.5:
All you have to do is go to System > Settings then edit store then Option tab and set Display Prices With Tax to no
This worked for me. Now I don't see the "Excl Tax" under the price.

a2z
New member

Posts

Joined
Tue May 01, 2012 9:43 am

Post by Effell » Sat May 18, 2013 3:34 am

uksitebuilder wrote:alternative way just for the curious

edit stylesheet.css

find: price-tax

I think there are approx 3

change to: display:none;
Thanks a bunch for this "old" help! Easy and working fix (works still in OC 1.5.4.1), and it helped me quickly get away with those lines... :)
(though I just inserted "display:none;" within the brackets, without removing any of "price-tax")

New member

Posts

Joined
Thu Nov 01, 2012 5:32 am

Post by TAC » Mon Aug 25, 2014 4:07 am

Thank you uksitebuilder that worked for me :D

User avatar
TAC
Active Member

Posts

Joined
Sun Sep 26, 2010 1:33 am
Location - England

Post by Laily92 » Sat Jun 06, 2015 11:09 pm

Maybe it will help for someone to remove ex tax from everywhere.
1) Go to catalog/view/theme/*/template/product/product.tpl
* find if ($tax) and replace with if (false)
* find if ($product['tax']) and replace with if (false)
2) Go to catalog/view/theme/*/template/product/category.tpl
catalog/view/theme/*/template/product/search.tpl
catalog/view/theme/*/template/product/special.tpl
catalog/view/theme/*/template/product/manufacturer_info.tpl
catalog/view/theme/*/template/module/latest.tpl
catalog/view/theme/*/template/module/special.tpl
catalog/view/theme/*/template/module/bestseller.tpl
catalog/view/theme/*/template/module/featured.tpl

AND find if ($product['tax']) and replace with if (false)
It was the best method which worked for me, because I don't like to remove all code.

Newbie

Posts

Joined
Sat Jun 06, 2015 10:50 pm

Post by Marcopolo » Mon Aug 17, 2015 7:19 pm

Hello guys,
i have different language installed how to modify the ex tax differently for any language :)


Thanks a lot

New member

Posts

Joined
Fri Apr 27, 2012 5:42 pm
Location - Brasov

Post by openmark » Sun Aug 26, 2018 10:25 pm

uksitebuilder wrote:
Sun Jul 24, 2011 2:50 pm
alternative way just for the curious

edit stylesheet.css

find: price-tax

I think there are approx 3

change to: display:none;
Thank you for this.

And I do this too: Go to System>Settings and click “Edit” for your store.
On the “Option” tab make sure that “Display Prices With Tax” is set to “No”.
Because ex tax would be appearing on product.

Newbie

Posts

Joined
Thu Jul 05, 2018 9:14 pm
Who is online

Users browsing this forum: No registered users and 62 guests