Skip to content

fix: aggregate cart quantity for product grid badges - #74

Merged
khaira777 merged 1 commit into
mainfrom
fix/issue-16-cart-quantity-badge
Jul 10, 2026
Merged

khaira777 merged 1 commit into
mainfrom
fix/issue-16-cart-quantity-badge

Conversation

@khaira777

Copy link
Copy Markdown
Contributor

This PR fixes issue #16 where the cart quantity badge on the POS product grid only reflected the first cart item's quantity for a given product. Now, it accurately reflects the total quantity by summing across all variations (e.g. items with different add-ons or notes).

Closes #16

@khaira777
khaira777 requested a review from itsbkm as a code owner July 10, 2026 23:23
@khaira777
khaira777 merged commit 7974aa4 into main Jul 10, 2026
7 checks passed
@khaira777
khaira777 deleted the fix/issue-16-cart-quantity-badge branch July 10, 2026 23:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cart quantity badge doesn't increment when same product is added with notes

1 participant