Skip to content

Calculate inventory value by product category #2

Description

@florinc

Description

As a product manager, I want to see the total inventory value per product category, so that I can understand how stock value is distributed across categories.

The inventory value for a category is calculated as the sum of (product price × quantity on hand) for all products in that category.

Acceptance Criteria

  • The system calculates inventory value grouped by product category.
  • For each category, the following information is displayed:
    • Category name
    • Number of products in the category
    • Total inventory value
  • Categories are ordered by total inventory value, descending.
  • The feature is accessible through a console command.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions