Jump to content

[Solved] Presta 1.7.4.2. Remove Total (VAT excl.) from Checkout Process


Rikc

Recommended Posts

Hi all,

Pulling my hair out trying to fully disable taxes on 1.7.4.2.

Have read all posts i can find, tried all methods i can find in the back office and even tried translations but still you can see this in the images provided. 

Any help is much appreciated.

Screen Shot 2018-08-12 at 16.42.52.png

Screen Shot 2018-08-12 at 16.43.57.png

Screen Shot 2018-08-12 at 16.44.50.png

Link to comment
Share on other sites

  • 2 months later...
  • 2 weeks later...

Hi,

yes i know is a pain also in last ps 1.7 vs, from BO you cannot disable it!.....if you want no label in cart process you have to delete it from some tpl files ( create a copy of these files first, just in case you need again):

the code responsible for this label is this {$cart.labels.tax_short}

you will find some tpl files where it appears and the path is in themes/YOURTHEME/templates/checkout/_partials

So check cart-summary-totals-----than cart-detailed-totals and maybe some others...i don't remember now.

 

bye

  • Like 1
Link to comment
Share on other sites

  • 2 months later...
Quote

 

Thank you Brooke, I selected the 'No' option for Tax on the International - Tax - Enable Tax screen but that did not remove the tax/vat label on the individual product listings on my 1.7.4.4-1 version.

Thank you very much Fabry, I amended the first two files (below) with great success but the third file who knows what that pertains to. I have left the third file location listed below in case anyone wants to have a play with their own file.

I commented out whole blocks/divs which showed the 'tax_short' code, (commenting out rather than deleting lines means they are still there should you want to revert back to using them).

REMOVE TAX/VAT LABELS by amending files which contain the string 'tax_short'

Remove Tax Display from Active Shopping Cart / Basket
C:\Bitnami\prestashop-1.7.4.4-1\apps\prestashop\htdocs\themes\classic\templates\checkout\_partials\cart-detailed-totals.tpl

Remove Tax Display from Final Checkout Cart / Confirmation
C:\Bitnami\prestashop-1.7.4.4-1\apps\prestashop\htdocs\themes\classic\templates\checkout\_partials\cart-summary-totals.tpl

Remove Tax Display from ??? (does not seem to affect the confirmation screen when you press 'ADD TO CART' on a product page)
C:\Bitnami\prestashop-1.7.4.4-1\apps\prestashop\htdocs\themes\classic\templates\checkout\_partials\order-confirmation-table.tpl

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

  • 1 month later...
On 1/9/2019 at 3:29 PM, Whitler said:

Thank you Brooke, I selected the 'No' option for Tax on the International - Tax - Enable Tax screen but that did not remove the tax/vat label on the individual product listings on my 1.7.4.4-1 version.

Thank you very much Fabry, I amended the first two files (below) with great success but the third file who knows what that pertains to. I have left the third file location listed below in case anyone wants to have a play with their own file.

I commented out whole blocks/divs which showed the 'tax_short' code, (commenting out rather than deleting lines means they are still there should you want to revert back to using them).

REMOVE TAX/VAT LABELS by amending files which contain the string 'tax_short'

Remove Tax Display from Active Shopping Cart / Basket
C:\Bitnami\prestashop-1.7.4.4-1\apps\prestashop\htdocs\themes\classic\templates\checkout\_partials\cart-detailed-totals.tpl

Remove Tax Display from Final Checkout Cart / Confirmation
C:\Bitnami\prestashop-1.7.4.4-1\apps\prestashop\htdocs\themes\classic\templates\checkout\_partials\cart-summary-totals.tpl

Remove Tax Display from ??? (does not seem to affect the confirmation screen when you press 'ADD TO CART' on a product page)
C:\Bitnami\prestashop-1.7.4.4-1\apps\prestashop\htdocs\themes\classic\templates\checkout\_partials\order-confirmation-table.tpl

Hello Whitler,

 

To successfully remove the VAT indication on the ajax popup that shows VAT go over to:

C:\xampp\htdocs\NAMEOFTHEWEBSITE\themes\THEMENAME\modules\ps_shoppingcart

On the file modal.tpl, line 64, you can comment the taxshort. So, the line looks like:

 <p><strong>{l s='Total:' d='Shop.Theme.Checkout'}</strong>&nbsp;{$cart.totals.total.value} {*{$cart.labels.tax_short}*}</p>
  

Hope I helped. 

Cheers,

Hugo

Link to comment
Share on other sites

  • 2 weeks later...

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...