Jump to content
Rikc

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

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

Share this post


Link to post
Share on other sites

Has anyone got any ideas?

VAT excl, is still shown after disabling Tax in the BO, as per brooke's post.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites
Posted (edited)
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)

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
Posted (edited)

As a newbie i was not sure if it was my fault....
The same problem has cost me 6 houres until i found this forum. 🤬

Thank you @stennnn & Whitler and all!

Edited by Tocheli (see edit history)
  • Like 1

Share this post


Link to post
Share on other sites
11 hours ago, Tocheli said:

As a newbie i was not sure if it was my fault....
The same problem has cost me 6 houres until i found this forum. 🤬

Thank you @stennnn & Whitler and all!

Glad I helped :)

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More