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

Fix issue with coupons not being augmented properly #559

Merged
merged 4 commits into from
Feb 3, 2022

Conversation

duncanmcclean
Copy link
Owner

This pull request fixes an issue where coupons weren't aren't being augmented properly.

Basically, augmentation for coupons is currently broken as the percent/amount field is called handle (due to statamic/cms#2495). This pull request doesn't really fix it but workaround it for now when using the coupon in Simple Commerce.

In the long term, Statamic will fix the issue with fields with the handle value or we will change it to something like amount which would need to be done as a breaking change.

Fixes #558

@duncanmcclean duncanmcclean merged commit 78ade8d into 2.3 Feb 3, 2022
@duncanmcclean duncanmcclean deleted the fix/coupon-not-augmenting-properly branch February 3, 2022 18:15
@github-actions
Copy link

github-actions bot commented Feb 3, 2022

Released as part of v2.3.65.

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.

Error when applying coupon code
2 participants