Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Manage multiple coupons in order #5

Merged
merged 7 commits into from
Dec 19, 2023
Merged

Conversation

maximehuran
Copy link
Member

@maximehuran maximehuran commented Dec 18, 2023

Multiple Coupons

Demo in cart

In my example I have :

  • $5 promotion without coupon
  • $10 promotion with FLASH_SALES coupon
  • $30 promotion with GIFT_CARD coupon (Applied after tax)
Enregistrement.de.l.ecran.2023-12-18.a.15.49.34.mov

Increment / Decrement

When an order is complete, the coupon usage is incremented

image
image

When an order is canceled, the coupon usage is decremented

image
image
image

@madamebiz madamebiz added Status: needs update This Issue/PR needs update and removed Status: needs review Needs review labels Dec 19, 2023
@madamebiz madamebiz added Status: needs review Needs review and removed Status: needs update This Issue/PR needs update labels Dec 19, 2023
@delyriand delyriand merged commit 8e30fe7 into master Dec 19, 2023
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants