Skip to content

Delivery date selection

The module adds a calendar field (flatpickr) on the checkout page, allowing customers to select a preferred delivery date.

Go to Polski PRO > Modules and enable the Delivery date selection module.

SettingDescriptionDefault
Field labelText displayed above the calendarPreferred delivery date
Required fieldWhether the customer must select a dateNo
Min. daysEarliest possible date (days from today)1
Max. daysLatest possible date (days from today)30
Blocked days of the weekWhich days are unavailable (0=Sun, 6=Sat)0 (Sundays)
Blocked datesSpecific unavailable dates (format: YYYY-MM-DD, comma-separated)empty
Display formatDate format on the orderd.m.Y (l)
  1. A field with a calendar icon appears at checkout
  2. The customer clicks and selects a date from flatpickr
  3. Blocked days (weekends, holidays) are grayed out
  4. The date is validated on the server side
  5. It is saved in the order meta (_polski_delivery_date)
  • Admin panel (below the shipping address)
  • Order details page (My Account)
  • Order emails (HTML and plain text)

To block holidays (e.g. Christmas, Easter), add dates in the YYYY-MM-DD format separated by commas:

2026-12-25,2026-12-26,2026-04-05,2026-04-06,2026-05-01,2026-05-03

The module also supports the block-based WooCommerce checkout. The date is passed through the Store API in extensions.polski-pro.delivery_date.