timoD Posted August 22 Share Posted August 22 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: Perhaps someone can help me with this. Many thanks in advance for any support and kind regards. Link to comment Share on other sites More sharing options...
Prestashop Addict Posted August 22 Share Posted August 22 Hi, you mean customer display confirmation or mail confirmation? Link to comment Share on other sites More sharing options...
timoD Posted August 22 Author Share Posted August 22 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 More sharing options...
Prestashop Addict Posted August 22 Share Posted August 22 You need to override method validateOrder() in class PaymentModule.php Link to comment Share on other sites More sharing options...
timoD Posted August 22 Author Share Posted August 22 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 More sharing options...
Prestashop Addict Posted August 22 Share Posted August 22 change $product_price = Product::getTaxCalculationMethod() == PS_TAX_EXC ? Tools::ps_round($price, 2) : $price_wt; to $product_price = Tools::ps_round($price, 2); Link to comment Share on other sites More sharing options...
timoD Posted August 23 Author Share Posted August 23 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 More sharing options...
Prestashop Addict Posted August 23 Share Posted August 23 (edited) Strange I made a test and it works Mail Screen confirmation Edited August 23 by Prestashop Addict (see edit history) Link to comment Share on other sites More sharing options...
timoD Posted August 23 Author Share Posted August 23 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now