Jump to content

Prestashop 1.7.1.2 remove tax excl. from checkout cart


rapidgear

Recommended Posts

Dear all,

 

Firstly, thank you for taking time to read my post.

 

I'm trying to remove tax excl. / tax incl. in the following photo:

 

Ro0TGuW.png

 

I know that it will be tax excl. or tax incl depending on whether I enable tax in \ International \ Taxes, but that is not the issue here.

 

My company is not tax registered and as such I don't want to have anything to do with taxation.

 

Is there any way to remove this in both the cart and the invoice?

Link to comment
Share on other sites

Hello 

I tried a simple solution and it worked for me. Use the Translation tools

Translation->Themse Translation->classic->Language (En)
     Search for (tax excl.)
     where it shows under shop > theme
     Change the text field: (tax excl.)
     To:   [leave it blank]
 
The same can be done for other pdf files and other fields.
 
regards,
  • Like 2
Link to comment
Share on other sites

Thanks for the reply.

 

I've already scoured most of the forums for a solution and I've attempted amending the translation on the backend.

 

I've also tried to amend the cart summary block to no avail.

 

Is this a bug with 1.7.1.2?

Link to comment
Share on other sites

I am using 1.7.1.1. Not sure if there is bug with 1.7.1.2 in this issue.

Check file permission in

/app/Resources/translations/en-US

 

I have directory with 755 and file with 666

 

 

 

Unfortunately I've reverted to 1.6 so I cannot confirm the above.

 

However with 1.6, upon disabling tax, there is no (tax incl.) or (tax excl.) visible during the checkout process anymore which is great for me because I'm not tax registered! (I cannot collect VAT from customers).

 

As for the invoice, tax excl. still appears but that was just a simple edit of the invoice tpl file.

 

I appreciate your response!

Edited by rapidgear (see edit history)
Link to comment
Share on other sites

  • 1 year later...

Finally found a solution to remove the Tax exc. from the cart.

What you have to do is find the the CartPresenter.php (www\prestashop_1.7.3.0\src\Adapter\Cart) file and remove (tax excl.)  from the line "  $this->translator->trans('(tax excl.)', array(), 'Shop.Theme.Global') "

I have done everything but this is the only thing worked for me. Please  let me know if may be any side effects could arise from this change

 

CartPresenter.php

  • Like 2
Link to comment
Share on other sites

  • 1 month later...
  • 2 months later...
On 10/9/2018 at 11:56 PM, dhanushka888 said:

Finally found a solution to remove the Tax exc. from the cart.

What you have to do is find the the CartPresenter.php (www\prestashop_1.7.3.0\src\Adapter\Cart) file and remove (tax excl.)  from the line "  $this->translator->trans('(tax excl.)', array(), 'Shop.Theme.Global') "

I have done everything but this is the only thing worked for me. Please  let me know if may be any side effects could arise from this change

 

CartPresenter.php

Thank you very much for posting the right solution!

I removed the (tax excl.) label using your method!

Best,

Marin

Link to comment
Share on other sites

  • 1 year later...

Yes in version 1.7.6 editing CartPresenter is the only method that currently works. Note it's been moved to Adapter\Presenter\Cart\CartPresenter and there are several instances within that file.

  • Like 1
Link to comment
Share on other sites

  • 8 months later...
On 10/9/2018 at 11:56 PM, dhanushka888 said:

Finally found a solution to remove the Tax exc. from the cart.

What you have to do is find the the CartPresenter.php (www\prestashop_1.7.3.0\src\Adapter\Cart) file and remove (tax excl.)  from the line "  $this->translator->trans('(tax excl.)', array(), 'Shop.Theme.Global') "

I have done everything but this is the only thing worked for me. Please  let me know if may be any side effects could arise from this change

 

CartPresenter.php

This worked, amazing, thank you!!

Link to comment
Share on other sites

  • 2 years later...

Sorry  @jetxJust seen your comment.

I am thick!

 

========

 

Thanks for this.

Using Prestashop 1.7.6.7 the correct file was in

/src/Adapter/Presenter/Cart/CartPresenter.php

For PS 1.7.6.7 a file named CartPresenter.php was in \src\Adapter\Cart but not the correct one.

 

Removing Tax inc/exc from the above worked great for checkout and also other places I could see the Tax Inc /Exc

 

 

Edited by MJ_C (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...