Track Product Price History
As a Host, I want to track price changes for products over time, So that I can make informed purchasing decisions and identify the best prices.
Acceptance Criteria
Section titled âAcceptance Criteriaâ- Given I have purchased a product
- When I record the purchase price
- Then the system stores the price with:
- Date and time of purchase
- Vendor/store where purchased
- Purchase context (manual entry, from shopping list, imported)
- Optional notes about the purchase
- And I can view price history on the product detail screen
- And I can see price trends with indicators:
- Up trend (price increased) with percentage change
- Down trend (price decreased) with percentage change
- Stable trend (no significant change)
- And I can see price statistics:
- Minimum price ever paid
- Average price across all purchases
- Maximum price ever paid
- And I can see a timeline of all price changes:
- Chronological list of all purchases
- Date and vendor for each entry
- Price difference from previous purchase
- âLatestâ indicator on most recent entry
- And the price history is displayed in a clear, easy-to-read format
Implementation Status
Section titled âImplementation Statusââ IMPLEMENTED (December 2025)
Implementation Details
Section titled âImplementation DetailsâFiles Created:
shaker/components/PriceHistoryChart.tsx- Price visualization component
Files Modified:
shaker/types/product.ts- Added PriceHistoryEntry typeshaker/data/products/index.ts- Added mock price history datashaker/app/(tabs)/inventory/products/[id].tsx- Added price history display
Features:
- Price trend indicators (up/down/stable) with color coding
- Price statistics (min, avg, max) in grid layout
- Price timeline with vendor and date information
- Automatic trend calculation based on price changes
- Integration into product detail screen
See: Price History Implementation for complete details.
Priority
Section titled âPriorityâMedium - Helps with budgeting and purchasing decisions
Related Entities
Section titled âRelated Entitiesâ- Product, PriceHistoryEntry
Future Enhancements
Section titled âFuture Enhancementsâ- Price alerts when price drops below threshold
- Best price finder (highlight lowest historical price)
- Price prediction based on trends
- Export price history as CSV
- Price comparison across similar products
- Vendor analytics (which stores have best prices)
- Seasonal trend identification
- Automatic price tracking from shopping list