Deprecate first order promotion rule for nth order
#4410
Closed
seand7565
started this conversation in
New Features or Ideas
Replies: 2 comments
|
I think it makes total sense. |
0 replies
|
This makes sense, but as it stands these are actually functionally different. They differ in:
We've actually managed to reproduce all these differences in the new promotion system. Some of those differences even make sense; FirstOrder prevents people from using the same email again as a guest to get the same promotion. NthOrder doesn't because that would allow people to try to claim promotions of existing users if they know their email and create the order at the right time. Unlikely, but a reasonable approach for each. It might be nice to fix the missing eligibility message, but it's also kinda clunky to fix it. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
The nth order promotion rule handles applying promotions to a users nth order. The only catch is, N can't be 1. The comment on the rule seems to indicate that the reason for this is that we already have a first order promotion rule. But given that there's no real distinction between
first orderandnth order where N=1, and a user should expect to be able to set N to 1, I would expectnth orderto fully encompassfirst orders functionality.In the interest of keeping the promotions system as light as possible, we could deprecate the first_order promotion rule in favor of the nth order rule. We'd need to move a small amount of logic from
first_ordertonth_order, but it seems like a small enough change, and since that logic only applies to N=1 - which currently is impossible because of the validations on the rule - we won't be breakingnth_orderfor anyone.All reactions