Danny Posted July 9 Share Posted July 9 I am worried about a error who is making me getting in some problems with customers. Basically the actual discount show a different amount from the actual discount. The discount is 5% on only selected products so 2799.20 5% is 139.96 it is actually correct but in the details under it show a different amount 174.95 some method of payment does this 2799.20-139.96=2659.24 other method of payment does this 2799.20-174.95=2624.25 i saw similar posts about this problem but it was a bug in older version of prestashop corrected with the more recent version Have anybody some suggestion or to know where to escalate this bug? Link to comment Share on other sites More sharing options...
Nickz Posted July 9 Share Posted July 9 5 minutes ago, Danny said: i saw similar posts about this problem but it was a bug in older version of prestashop corrected with the more recent version What is your Version? And is it a newly installed shop? Link to comment Share on other sites More sharing options...
Danny Posted July 9 Author Share Posted July 9 Thank you for your reply 1.7.8.9 is not new Link to comment Share on other sites More sharing options...
Nickz Posted July 9 Share Posted July 9 Have you applied the discount pero group, or per product or both? If not new, does the shop come from an earlier version? Link to comment Share on other sites More sharing options...
Danny Posted July 9 Author Share Posted July 9 The discount is applied for some products, the discount is active since 10 days, originally was from a 1.7.8.1 version. Link to comment Share on other sites More sharing options...
Nickz Posted July 9 Share Posted July 9 (edited) Ok you applied the discount per group? Edited July 9 by Nickz (see edit history) Link to comment Share on other sites More sharing options...
Danny Posted July 9 Author Share Posted July 9 No Link to comment Share on other sites More sharing options...
Nickz Posted July 9 Share Posted July 9 This way?: https://prestapros.com/en/instruction/prestashop-17-discount-codes Link to comment Share on other sites More sharing options...
Danny Posted July 9 Author Share Posted July 9 Like in the picture I have attached in the previous post Link to comment Share on other sites More sharing options...
Danny Posted July 10 Author Share Posted July 10 i think i found something related to my problem in this page. https://github.com/PrestaShop/PrestaShop/issues/19090 Link to comment Share on other sites More sharing options...
Nickz Posted July 10 Share Posted July 10 Someone there offered a solution, have you tried it? Link to comment Share on other sites More sharing options...
Danny Posted July 10 Author Share Posted July 10 No, the problem is similar but is not the same. In the cart rule the discount was showing the wrong amount for a different reason, but i am not totally sure about it. As my understanding the fix is already applied in the version i have now. Indeed the fix proposed in GitHub is already present in the file /src/Core/Cart/CartRuleCalculator.php in my website. What is the core file that manage that section of the cart summary on the bottom? or the section if the file is the same? Link to comment Share on other sites More sharing options...
Danny Posted July 11 Author Share Posted July 11 I tried to replicate the error on a demo website with prestashop 8.1.5 everything work fine Link to comment Share on other sites More sharing options...
Prestashop Addict Posted July 15 Share Posted July 15 Prestashop has a lot of issues with coupons in % and tax calculation, and since a long time 😞 Link to comment Share on other sites More sharing options...
Danny Posted July 15 Author Share Posted July 15 3 ore fa, Prestashop Addict dice: Prestashop has a lot of issues with coupons in % and tax calculation, and since a long time 😞 Do you know the core file that manage that part? Link to comment Share on other sites More sharing options...
Prestashop Addict Posted July 17 Share Posted July 17 It's so complicated to fix, that nobody tried 😞 Prestashop planned to change calculation method in PS V9 as I understood. Link to comment Share on other sites More sharing options...
Danny Posted July 17 Author Share Posted July 17 Are they for real? So the problem is spanning in multiple core file, is that right? Moreover they know about this bug? and they didn't fix it? Sound so ridiculous, is almost funny. I don't have enough knowledge about prestashop core files to find the code is taking care of the wrong discount percentage, otherwise i will try to fix it by myself. Especially if the error is distributed across multiple core files. Link to comment Share on other sites More sharing options...
ChillMan Posted December 9 Share Posted December 9 Have you solved this issue? I experience the same in PS 8.2.0. 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