GMVitus Posted September 3, 2018 Share Posted September 3, 2018 Hello folks, I think I found a major bug in the handling of Virtual Products in Prestashop 1.7. First off some background: A while ago, I asked for help with an issue I have about the total being incorrectly calculated when using discount vouchers: https://www.prestashop.com/forums/topic/866094-total-doesnt-consider-voucher/ As you can see, no one bothered to give me an answer as of now. Because this issue keep costing me money I kept investigating. I set up a test server using the latest Prestashop build 1.7.4.2 and installed my theme to it, but other than that didn't bother to add any modules or even products. I found that with the default products the discount voucher was displayed correctly: https://i.imgur.com/xHBmxKR.jpg After a lot of testing I found the culprit! When I changed the product type to "Virtual Product" the discount voucher stopped being calculated correctly: https://i.imgur.com/n7wdC7d.jpg https://i.imgur.com/HuRWDFw.jpg I considered that this might be an issue related to my custom theme, but even using "Classic" that comes with 1.7.4.2 the problem still remained. I really hope you could look into this matter and fix it for the next update and it would be great if someone could provide me some clues how I can remedy the problem in the meantime. As I mentioned, I am actually missing out on sales right now, because people can't use their discount codes. Regards, Otmar Link to comment Share on other sites More sharing options...
ksaan Posted September 3, 2018 Share Posted September 3, 2018 Hello, People on this forum will not be able to fix your issue in the next version we are Prestashop users, not Prestashop developers. However if you do not have done it yet, you can report your bug to Prestashop developers by opening an issue on https://github.com/PrestaShop/PrestaShop/issues Since you have a very good explanation of the bug I guess it will be easy for them to reproduce the bug and fix it in the code so that next version will fix the bug Link to comment Share on other sites More sharing options...
GMVitus Posted September 3, 2018 Author Share Posted September 3, 2018 Hey ksaan, thanks for the suggestion, I followed it and opened a ticket. https://github.com/PrestaShop/PrestaShop/issues/10264 1 Link to comment Share on other sites More sharing options...
Henrik Pantle Posted December 9, 2018 Share Posted December 9, 2018 THANKS GMVitus Link to comment Share on other sites More sharing options...
GMVitus Posted December 9, 2018 Author Share Posted December 9, 2018 Moin Henrik, check the solution kindly provided by Xaconi in the github thread. It's not too difficult to implement and solves the issue. Link to comment Share on other sites More sharing options...
Henrik Pantle Posted December 10, 2018 Share Posted December 10, 2018 ⚠️❌ TRIED and worked for virtual products ONLY in the cart. If custumer tries to puts a normal product into the cart nothing happens. the "ADD TO CART" button is without action. If there is a normal and virtual product in the cart the custumer gets a WHITE SCREEN. Link to comment Share on other sites More sharing options...
pasi_1975 Posted January 22, 2019 Share Posted January 22, 2019 (edited) I've have the same issue with cart rules with virtual products in Prestashop 1.7.5.0. Edit: Solved by @nziria in thread https://github.com/PrestaShop/PrestaShop/issues/10264 Edited January 29, 2019 by pasi_1975 (see edit history) 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