Skip to content

feat: implement free items support for promotional offers - #24

Merged
engahmed1190 merged 1 commit into
developfrom
refactor/offers
Nov 10, 2025
Merged

feat: implement free items support for promotional offers#24
engahmed1190 merged 1 commit into
developfrom
refactor/offers

Conversation

@engahmed1190

Copy link
Copy Markdown
Contributor
  • Add processFreeItems() to handle free item quantities from backend
  • Display free item badge (+X FREE) in cart UI
  • Update totalQuantity to include free items in count
  • Add minimum quantity validation for offer eligibility
  • Make offer eligibility reactive to cart changes
  • Refactor offers.py with type hints and data classes
  • Remove unused coupon functions and pos_offer references
  • Fix database column checks in promotions.py

- Add processFreeItems() to handle free item quantities from backend
- Display free item badge (+X FREE) in cart UI
- Update totalQuantity to include free items in count
- Add minimum quantity validation for offer eligibility
- Make offer eligibility reactive to cart changes
- Refactor offers.py with type hints and data classes
- Remove unused coupon functions and pos_offer references
- Fix database column checks in promotions.py
@engahmed1190
engahmed1190 merged commit 971b84d into develop Nov 10, 2025
1 of 3 checks passed
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.

1 participant