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

[Feature]: Checkout and orders discounts #4616

Open
8 tasks done
Tracked by #4231
andrzejewsky opened this issue Jan 9, 2024 · 0 comments
Open
8 tasks done
Tracked by #4231

[Feature]: Checkout and orders discounts #4616

andrzejewsky opened this issue Jan 9, 2024 · 0 comments

Comments

@andrzejewsky
Copy link
Member

andrzejewsky commented Jan 9, 2024

Description of the feature

Users will be able to create rules that are related to checkout / making orders. By selecting conditions they are able to decide when given rule can be applied.

User stories:

001 Creating checkout rule:

  • Given discounts are created
  • When user clicks add rule
    • and picks "Checkout and orders"
    • and picks channel
    • and fill the name
    • and adds "purchase amount" condition
    • and adds "usage limit" condition
    • and clicks "save"
  • Then modal closes
    • and user sees rule created for checkout with selected condition

002 Editing checkout rule:

  • Given discounts is created
    • and checkout rule is created
  • When user clicks edit rule (using pencil button)
    • and change any field (condition, inputs, description)
    • and clicks "save"
  • Then modal closes
    • and user sees rule created for checkout with applied changes made within the modal

003 Checkout rule validation:

  • Given discounts is created
    • and checkout rule is created
    • or there is no rules created
  • When user clicks edit rule (using pencil button)
    • or user creates new rule for checkout
    • and puts any wrong value (condition, input, description)
    • and clicks "save"
  • Then user sees what fields are wrong by seeing red border indicator

Additional information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

1 participant