Skip to content

Calculate inventory value by product category #2

@florinc

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.

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