Feature #5579
openPreorder Edit mode(here not update the preorder catlog)
Start date:
12/04/2025
Due date:
12/04/2025 (4 days late)
% Done:
100%
Estimated time:
8:00 h
Spent time:
Description
Here, based on products, we get the details and show the existing items. After updating any data, send that information to the API.
Subtasks
Related issues
Updated by Pavan Kumar Murala 4 days ago
- % Done changed from 0 to 100
- Check catalogId → enter edit mode.
- Fetch catalog data from API.
- Fill basic catalog fields (title, dates, image, status, fulfillment).
- Load all products returned by the API.
- Mark all API products as selected.
- Save product details into allProductDetailsFromApi.
- Save old preorder limits into individualProductLimits.
- If sameDetails = true, set common delivery & pickup details.
- If sameDetails = false, set individual delivery & individual pickup details.
- Show selected products with pre-filled details.
- Allow editing product details (notes, limit, dates, time, location).
- Allow switching between Same Details / Different Details.
- Sync values when switching tabs.
- Update central store when user edits any product detail.
- Build final product list (oldLimit + newLimit).
- Build final catalog object.
- Send UPDATE API: PUT /catalog/update/:id.
- Show success message and go back to list.