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

Merchant Items Index: 5 most popular items #29

Closed
MWagner3 opened this issue Feb 17, 2022 · 0 comments
Closed

Merchant Items Index: 5 most popular items #29

MWagner3 opened this issue Feb 17, 2022 · 0 comments

Comments

@MWagner3
Copy link
Owner

As a merchant
When I visit my items index page
Then I see the names of the top 5 most popular items ranked by total revenue generated
And I see that each item name links to my merchant item show page for that item
And I see the total revenue generated next to each item name

Notes on Revenue Calculation:

  • Only invoices with at least one successful transaction should count towards revenue
  • Revenue for an invoice should be calculated as the sum of the revenue of all invoice items
  • Revenue for an invoice item should be calculated as the invoice item unit price multiplied by the quantity (do not use the item unit price)
@MWagner3 MWagner3 added this to Backlog in 2201 Little Esty Shop Feb 17, 2022
@samivari samivari self-assigned this Feb 18, 2022
@samivari samivari moved this from Backlog to In Progress in 2201 Little Esty Shop Feb 27, 2022
@samivari samivari moved this from In Progress to Ready for Review in 2201 Little Esty Shop Feb 27, 2022
@lisataylor5472 lisataylor5472 moved this from Ready for Review to Merged to Main in 2201 Little Esty Shop Mar 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

2 participants