Feature #8322
Updated by Pavan Kumar Murala 17 days ago
Implement a “Favorite” (Favicon) functionality for both the Products and POS pages.
Integrate backend APIs to:
Add a product to favorites
Remove a product from favorites
Fetch favorite products list
On page load:
Call the GET Favorites API
Display favorite products at the top (similar to product listing behavior)
UI Requirements:
Show a favorite icon (heart/star) on each product
Toggle icon state when user adds/removes favorite
Ensure real-time UI update without page refresh
Backend:
APIs already created for add and get favorites
Ensure proper integration and response handling
action history also