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

[Core] Per-User usage limits on coupon #1745

Merged
merged 1 commit into from
Sep 23, 2014

Conversation

stloyd
Copy link
Contributor

@stloyd stloyd commented Jul 29, 2014

Rebased & adjusted version of #920.

@kayue
Copy link
Contributor

kayue commented Jul 30, 2014

👍

@stloyd stloyd force-pushed the feature/per_user_limit_coupons branch from d5b7d18 to 7a0b374 Compare September 11, 2014 08:08
@stloyd stloyd changed the title [WIP][Core] Per-User usage limits on coupon [Core] Per-User usage limits on coupon Sep 11, 2014
@stloyd stloyd force-pushed the feature/per_user_limit_coupons branch from 7a0b374 to c0041e8 Compare September 11, 2014 12:02
This restricts users from placing multiple orders with the same discount.
This is a commonly used feature in Magento for sites that have a max $ limit
on their coupons. Users bypass this by placing multiple orders. Magento
however doesn't force you to be logged in during the time of ordering,
so it's easily bypassed that system.
@stloyd stloyd force-pushed the feature/per_user_limit_coupons branch from c0041e8 to dd257e5 Compare September 11, 2014 12:06
@stloyd
Copy link
Contributor Author

stloyd commented Sep 13, 2014

@pjedrzejewski @Arn0d Can you review? Thanks!

@stloyd
Copy link
Contributor Author

stloyd commented Sep 23, 2014

@pjedrzejewski @umpirsky Guys anything blocking this one?

pjedrzejewski pushed a commit that referenced this pull request Sep 23, 2014
[Core] Per-User usage limits on coupon
@pjedrzejewski pjedrzejewski merged commit d0d882d into Sylius:master Sep 23, 2014
@pjedrzejewski
Copy link
Member

Thank you @stloyd.

@stloyd stloyd deleted the feature/per_user_limit_coupons branch September 23, 2014 08:22
}
}
} else {
return false;
Copy link

Choose a reason for hiding this comment

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

Exit sooner will be nice for ease readability/understanding

pamil pushed a commit to pamil/Sylius that referenced this pull request May 7, 2019
…pons

[Core] Per-User usage limits on coupon
pamil pushed a commit to pamil/Sylius that referenced this pull request May 7, 2019
…pons

[Core] Per-User usage limits on coupon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement Minor issues and PRs improving the current solutions (optimizations, typo fixes, etc.).
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants