Feature #10962
openPreorder catalog payment methods + sale window timezone / visibility fixes (subscription)
0%
Description
1. Catalog-level Card / Cash / Zelle + limits
Admin can enable/disable Card, Cash, Zelle per catalog and set limit per product on Create Pre-Order.
Backend stores preorderPaymentEnabled and preorderPaymentLimits on catalog.
Ecommerce checkout shows a payment method only when it is enabled and limit > 0.
2. Preorder create date off-by-one
Catalog start day and product sale/pickup dates were off by one day (browser TZ vs business TZ).
Fixed with calendar-day comparison helpers.
3. Ecommerce sale window / current time
Sale end was compared incorrectly against current time (timezone parse issue).
After product sale window end time, product is hidden from catalog (not left showing “Sale ended”).
Repos / modules:
POS FE: Create Pre-Order, Product Details Form, businessTimezone utils
Ecommerce: Checkout Preorder, Catalog Products, payment limit utils
Backend: nursery order/catalog model + order service
Subtasks
Related issues