Jump to content

Prices without VAT for the Individual items on the order confirmation


timoD

Recommended Posts

Hello everyone,

I have already worked through a few topics on this question,
but the corresponding code has changed over the course of further versions and I have not been able to find a solution.

As far as I know, it must be an adjustment in the PaymentModule.php.

theme: classic
PS Version: 1.7.8.11

 

My question is that I would like to have the prices of the individual items displayed without VAT on the order confirmation.
This is not currently the case:

 

order_conf_VAT.jpg.525212b36edcfb2d27229878f748bccb.jpg

Perhaps someone can help me with this.
Many thanks in advance for any support and kind regards.

Link to comment
Share on other sites

1 hour ago, Prestashop Addict said:

Hi, you mean customer display confirmation or mail confirmation?

Hi, sorry for the confusion.
I mean the mail confirmation (order_conf mail template).
Best regards

Link to comment
Share on other sites

17 minutes ago, Prestashop Addict said:

You need to override method validateOrder() in class PaymentModule.php

Hi,
thanks for your message.
Could you be a bit more specific or post a code example?
That would be awesome.

Link to comment
Share on other sites

15 hours ago, Prestashop Addict said:

change

$product_price = Product::getTaxCalculationMethod() == PS_TAX_EXC ? Tools::ps_round($price, 2) : $price_wt;

to

$product_price = Tools::ps_round($price, 2);

 

The changes don't seem to have taken effect yet.
I've already done it directly in the file and as an override.
I've cleared the cache in the back office and checked most of the obvious sources of error.
Is there another trick here?
All the best

Link to comment
Share on other sites

Hi,
thanks for your message and for trying it out.
I seem to have a conflict with another module.
I'll check the whole thing and then give feedback to other users regarding your proposed solution.
Greetings

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