Skip to content

Prevent duplicate product removal on fast double-click#859

Merged
tblivet merged 1 commit intoPrestaShop:developfrom
tblivet:fix/double-remove-issue
Dec 12, 2025
Merged

Prevent duplicate product removal on fast double-click#859
tblivet merged 1 commit intoPrestaShop:developfrom
tblivet:fix/double-remove-issue

Conversation

@tblivet
Copy link
Contributor

@tblivet 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

@ps-jarvis ps-jarvis moved this from Ready for review to To be tested in PR Dashboard Dec 12, 2025
@ingridusta ingridusta self-assigned this Dec 12, 2025
@github-project-automation github-project-automation bot moved this to To be tested in [Bug] Themes Dec 12, 2025
Copy link

@ingridusta ingridusta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 :

Capture d’écran 2025-12-12 à 16 42 25

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 ✅

@tblivet tblivet merged commit c4d9b79 into PrestaShop:develop Dec 12, 2025
6 checks passed
@github-project-automation github-project-automation bot moved this from To be tested to Merged in PR Dashboard Dec 12, 2025
@github-project-automation github-project-automation bot moved this from To be tested to Done in [Bug] Themes Dec 12, 2025
@ps-jarvis ps-jarvis moved this from Merged to To be tested in PR Dashboard Dec 12, 2025
@tblivet tblivet removed this from [Bug] Themes Dec 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

Cart - Green alert is displayed twice when the user clics too fast to delete a product in the cart

4 participants