Overview
The Product Inventory feature provides a centralized location for managing your product catalog. This feature is designed to help businesses track their products, manage stock levels, and maintain organized inventory records.The Product Inventory feature is currently in active development. This page documents the planned functionality and architecture.
Purpose
The inventory management system serves several key business needs:Product Catalog
Maintain a comprehensive list of all products
Stock Tracking
Monitor inventory levels and stock status
Pricing Integration
Connect with pricing calculators for accurate cost/price tracking
Sales History
Link products to sales transactions for analytics
Planned Features
The Product Inventory system is being designed with the following capabilities:Product Information Management
- Basic Details: Product name, description, SKU/barcode
- Pricing Data: Cost, sale price, profit margins
- Stock Levels: Current quantity, reorder points, location
- Categories: Organize products into custom categories
Inventory Operations
Feature Architecture
The inventory feature follows Numix’s feature-first architecture pattern:Directory Structure
Data Model (Planned)
The Product model will include:product.dart (planned)
Integration with Other Features
The inventory system is designed to work seamlessly with existing Numix features:Sales Price Calculator
Cost and Pricing Integration
Cost and Pricing Integration
When adding or editing products, users can leverage the Sales Price Calculator to determine optimal pricing:
- Enter product cost in inventory form
- Launch price calculator to compute sale price
- Apply calculated price back to product record
- Store both cost and price for profit tracking
Discount Calculator
Promotional Pricing
Promotional Pricing
The Discount Calculator can be used to:
- Calculate temporary promotional prices
- Determine bulk discount thresholds
- Plan seasonal sales strategies
Sales History
Transaction Tracking
Transaction Tracking
Each sale can be linked to inventory records:
- Automatic stock reduction on sale
- Revenue tracking per product
- Best-seller identification
- Reorder alerts based on sales velocity
State Management
The inventory feature will use the same Provider-based state management pattern as other Numix features:inventory_provider.dart (planned)
Data Persistence
Product data will be persisted locally using SharedPreferences or a local database:User Interface (Planned)
The inventory screen will feature:- Product List: Scrollable list with search and filter capabilities
- Add Button: Floating action button to create new products
- Product Cards: Each showing key information (name, SKU, quantity, price)
- Detail View: Tap a product to see full details and edit
- Stock Alerts: Visual indicators for low-stock items
Development Status
The Product Inventory feature is currently in the design and planning phase. The screen placeholder exists in the codebase at:
lib/features/product_inventory/screens/product_inventory_screen.dartContributions are welcome! See the Development Setup guide to get started.Related Features
Sales Price Calculator
Calculate optimal pricing for inventory items
Sales History
Track product sales over time
Feature-First Architecture
Learn about Numix’s modular architecture
Contributing
Help build the inventory system