Describe the bug
Discount label is missing on products with attributes.
To Reproduce
Steps to reproduce the behavior:
This is a regression from Prestashop v. 1.6.1.x
Screenshots
Please see this video: https://reker.dk/badge.webm
Additional information
PrestaShop version: 1.7.6.1
PHP version: 7.2
Hi @MathiasReker,
Thanks for your report.
Yes, with PS1.6.1.24, if the quantity of products with different combinations is > = From (quantity) condition => the discount is applied correctly in the FO.
ps1.6 => BO

PS1.6 => FO

PS: this condition is used if the "Quantity discounts based on Products" only.
With PS1.7 we don't have the same behavior.
The label discount is not displayed. => NOK.
I鈥檒l add this to the debug roadmap so that it鈥檚 fixed. If you have already fixed it on your end or if you think you can do it, please do send us a pull request!
Thanks!
Thanks. The discount is already applied to the price so the discount label should be applied too. :)
@MathiasReker, thanks!
I added this issue to our bug roadmap.
Thanks!
@NeOMakinG is this something you would be able to do ?
I'll take a look, assigned to myself
After a lot of research
/Users/vSzczupak/Sites/prestashop/themes/_core/js/cart.js
Line 54 : $('.cart-overview').replaceWith(resp.cart_detailed);
resp.cart_detailed is not updated with new discounts when changing value, tried to see more in backend side but can't find how to do this, it's a backend issue...