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

Allowing to use the same input for PromotionCoupon and GiftCards #92

Open
wants to merge 2 commits into
base: 0.12.x
Choose a base branch
from

Conversation

Roshyo
Copy link
Contributor

@Roshyo Roshyo commented Aug 8, 2020

Fixes #59

@Roshyo Roshyo requested a review from loevgaard August 8, 2020 13:36
@loevgaard loevgaard marked this pull request as ready for review August 10, 2020 07:05
Copy link
Member

@loevgaard loevgaard left a comment

Choose a reason for hiding this comment

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

I think you should come up with a solution where you use different classes for the two scenarios (with and without using same input for coupon and gift card). I think this will make it much cleaner.

This means a form for both scenarios, a controller etc. Right now I think the controller for example is too complex

README.md Outdated Show resolved Hide resolved
src/Applicator/CouponCodeApplicator.php Show resolved Hide resolved
@Roshyo Roshyo requested a review from loevgaard August 11, 2020 05:32
@demo18
Copy link

demo18 commented May 5, 2021

hello, could it be merged?

@loevgaard loevgaard changed the base branch from master to 0.12.x September 8, 2021 07:44
@jeandanyel
Copy link

could it be merged

it would be nice :)

@Roshyo
Copy link
Contributor Author

Roshyo commented Jan 20, 2022

Hey there. There is still some work to do on this matter to simplify things and make it easier to read/extend.

But this issue is in my TODO and it should be dealt with in the upcoming weeks.

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.

Allow to enter GiftCard code in the same input as coupon
4 participants