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

As an operator I want to preview how my promotions would operate on a date that I choose #6668

Closed
brent-hoover opened this issue Nov 23, 2022 · 0 comments
Assignees
Labels
Promotions Issues related to the Promotions project

Comments

@brent-hoover
Copy link
Collaborator

brent-hoover commented Nov 23, 2022

Basically this is a "Time Travel" mode there I would be able to set my current date somewhere to any date, say Black Friday and see my promotions be active and be able to test/use them just as if it was that day, but only for the particular user, all other users would be unaffected. This could something you set in Kinetic but it would need to affect both the backend and storefront (although it may not need to be any changes to storefront depending on how we implement it)

In order for us to implement, or even plan it, this we need to understand more about how we want Promotions to present themselves on the Storefront.

Areas I know we would need to touch:

  • Where we get the active promotions by date. However, this would also mean having the users custom date available and we don't want to do another db query here. In order for a promo to be activate that's the only area I can think of.

  • Very dependent on where else we display promo information in the storefront. So we need clarity on that stuff.

Discussing with Brian we are proposing that we add a new premissions/preview role which can be checked at query time, if someone has that role, we can use a user defined date (yet to be determined where that would be stored) and that date would override the store version of current date/time. Based on what we know so far we think that should cover allowing a promotion preview.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Promotions Issues related to the Promotions project
Projects
None yet
Development

No branches or pull requests

3 participants