Prevent duplicate product removal on fast double-click#859
Merged
tblivet merged 1 commit intoPrestaShop:developfrom Dec 12, 2025
Merged
Prevent duplicate product removal on fast double-click#859tblivet merged 1 commit intoPrestaShop:developfrom
tblivet merged 1 commit intoPrestaShop:developfrom
Conversation
Contributor
tblivet
commented
Dec 12, 2025
| Questions | Answers |
|---|---|
| Description? | Prevent duplicate product removal on fast double-click |
| Type? | bug fix |
| BC breaks? | no |
| Deprecations? | no |
| Fixed ticket? | #840 |
| Sponsor company | @PrestaShopCorp |
| How to test? | Follow the issue |
ga-devfront
approved these changes
Dec 12, 2025
ingridusta
approved these changes
Dec 12, 2025
ingridusta
left a comment
There was a problem hiding this comment.
Hi @tblivet,
Thanks for your PR. I tested several cases :
1 product in the cart :
1.product.in.cart.mov
Several products in the cart :
several.products.in.cart.mov
Product with minimum qty order (3):
Enregistrement.de.l.ecran.2025-12-12.a.16.36.32.mov
Product with minimum qty order (3) but more in the cart : the page is reload with the original quantity (8) :
min.qty.order.product.mov
With classic, we have the same behaviour but with an red alerte informing the user about the minimum quantity for sale :
As this alert is displayed but not visible on hummingbird v1, I am going to open a new issue for this alert.
It's QA approved ✅
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.