-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Promotion start/expiration times #3158
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I love that feature, but would like to have a change on the helper
@tvdeyen updated! I called the argument |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fantastic work, @aldesantis! 👏
Is it possible for you to rebase against current master
? Tests should be fixed by now 🙏
The Spree::Promotion model takes start and expiration times into account, so there's no reason we shouldn't allow admins to manage the times when creating/editing a promotion.
Admins can now specify the exact time a promotion starts or expires, so we also need to display this information in the promotions list.
@aitbw done! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👏
@aldesantis thanks! |
Description
Fixes the promotion form in the admin panel to also display the start and expiration times. This allows admins to change the exact time a promotion starts or expires.
Checklist: