Feature #6002
opene-commerce preorder pickup flow
Subtasks
Related issues
Updated by Pavan Kumar Murala about 1 month ago
- Status changed from New to In Progress
Updated by Pavan Kumar Murala about 1 month ago
- Status changed from In Progress to Resolved
- % Done changed from 0 to 100
- Pickup details section is displayed when deliveryMethod === 'pickup'.
- Pickup location details are shown in green highlighted cards.
- Product name is displayed for each pickup item.
- Pickup availability date range is displayed.
- Pickup time slots (e.g., 09:00 AM – 05:00 PM) are displayed.
- Radio button–based pickup date selection is implemented.
- Past dates are filtered out from pickup date selection.
- One pickup date selection is enforced per product.
- Validation added to prevent checkout without selecting pickup dates.
- Email field is always visible and required.
- Phone number field is always visible and required.
- Phone number is stored in localStorage as checkoutPhoneNumber.
- Phone number persists after page refresh.
- Phone number is prefilled from user profile when available.
- isPickup: true is added to the checkout request body.
- deliveryMethod: 'pickup' is added to the request body.
- deliveryType: 'pickup' is passed via route state.
- pickedUpLocation array with pickup details is sent to backend.
- shipping_address is sent as an empty object for pickup orders.
- shipping_charges is set to 0 for pickup orders.
- Pickup orders are logged in console for debugging.
- Catalog page passes pickup type while navigating to checkout.
- Guest checkout flow supports pickup orders.
- Checkout payload includes pickup location information.
- Validation errors are shown when required pickup data is missing.
- Payment flow works successfully for pickup preorder orders.