Feature #3932
openDisplay Featured Products with details and auto-refresh updates in evergreenfarmsusa website
Description
As a customer
I want to view all featured products in a dedicated screen
So that I can easily see highlighted products with their details and decide which ones to purchase.
Acceptance Criteria
1.Featured Products Screen
A new screen/page should be available named “Featured Products”.
This page should list all products where isFeatured = true and quantity > 0.
2.Product Details Display
Each featured product card/row must show:
Product Name
Product Description
Product Cost/Price
Available Quantity
3.Exclusion Rules
Products marked as isFeatured = true but with quantity = 0 must not appear in the list.
4.Data Accuracy
The information displayed must match the stored product data in the system.
Updates to product details (name, description, cost, quantity) should reflect immediately in the featured products screen.
5. After become quantity is zero need to update screen without reload
6.Live Updates
The Featured Products screen must show all products with isFeatured = true and quantity > 0.
When product details (name, description, cost, or quantity) change, the screen should update automatically.
If a featured product’s quantity becomes 0, it should disappear from the list instantly.
If a product is newly marked as Featured and has quantity > 0, it should appear immediately.
7.No Page Reload
Updates should happen in real time (via WebSocket, polling, or state subscription) without requiring the user to refresh/reload the page.
Subtasks
Related issues