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

Improve description for promotion rules #205

Closed
seand7565 opened this issue Feb 24, 2021 · 5 comments
Closed

Improve description for promotion rules #205

seand7565 opened this issue Feb 24, 2021 · 5 comments
Assignees
Labels
breaking Introduces a breaking change. enhancement Improves an existing feature.
Projects
Milestone

Comments

@seand7565
Copy link
Contributor

I think you used the “Subscription promotion rule” instead of “Subscription order promotion rule”. I know this is super-confusing, but the first one is applied to the order that generates a subscription (i.e. a customer’s first order when they sign up to the PP), while the second is applied to all orders in a subscription.

X-posting from Slack, but that's basically the gist of it. We might want to add some descriptive text/comments to the rule file, the readme, and the rule partial (so non-coder admin can understand the difference too)

@seand7565 seand7565 added the documentation Improves the documentation. label Feb 24, 2021
@aldesantis aldesantis added this to To do in Project Mar 5, 2021
@aldesantis aldesantis added this to the 1.0.0 milestone Mar 5, 2021
@luca-landa
Copy link
Contributor

luca-landa commented Mar 19, 2021

Is it a possibility to change the rules names right now? If so, what about "Subscription creation order promotion rule" and "Subscription installment order promotion rule" ?

@aldesantis
Copy link
Member

@luca-landa yep, we should be able to change them.

@aldesantis aldesantis added enhancement Improves an existing feature. and removed documentation Improves the documentation. labels Mar 19, 2021
@luca-landa luca-landa moved this from To do to In progress in Project Mar 19, 2021
@luca-landa
Copy link
Contributor

@aldesantis if somebody is using the extension now, their subscriptions processing will break after renaming the promotion rules classes. How should we handle this? Should we provide a script to fix the names in the database or is it just too much worry because we aren't at 1.0.0 yet?

@luca-landa luca-landa moved this from In progress to Ready for review in Project Mar 19, 2021
@aldesantis aldesantis added the breaking Introduces a breaking change. label Mar 22, 2021
@aldesantis
Copy link
Member

@luca-landa I think we should make a PR for adding a migration for the promotion rule names too 🙂 Nonetheless, this is still a breaking change because someone might be relying on those class names, so I'm adding a "breaking" label.

@luca-landa
Copy link
Contributor

luca-landa commented Mar 23, 2021

@aldesantis created it #216, let me know if everything is okay with this issue

Project automation moved this from Ready for review to Done Mar 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking Introduces a breaking change. enhancement Improves an existing feature.
Projects
No open projects
Development

No branches or pull requests

3 participants