1. What this module does
Let customers choose a delivery day and time slot at checkout, with limits per slot. Grocery shops, florists, furniture shops and local delivery services need to know when an order should arrive; PrestaShop has no such choice. This module gives each carrier its own delivery calendar: the days it delivers, days off, a preparation time, a cut-off hour, how far ahead customers may book, and optional time slots (for example 08:00–12:00) with a limit of orders per slot and per day. A full slot or day can no longer be chosen.
Under the carriers of the checkout, the customer picks a day and a time slot of the selected carrier. The choice is copied to the order and shown in the order page of your Back Office, on the order confirmation page, in the customer's order history, in the order confirmation e-mail and on the PDF invoice and delivery slip. The Deliveries tab lists the orders to deliver by day and slot, with a CSV export.
Works with PrestaShop 1.7.8, 8.x and 9.x (PHP 7.2.5 or newer), with the Classic and Hummingbird themes and with multistore.
2. Installation
- Download the module from My account → Order history at addonspresta.com.
- In your Back Office, open Modules → Module Manager and click Upload a module.
- Drop the
ap_deliverydate_v1.0.0.zipfile and wait for the confirmation. - Click Configure on the module card.
If you have shell access, you can also unpack the zip into modules/ and run
php bin/console prestashop:module install ap_deliverydate from the shop folder.
Nothing changes at the checkout until you switch on a calendar. After the installation the module is enabled, but no carrier has a calendar yet; the Settings tab says so ("No carrier of this shop has a delivery calendar yet: customers see no calendar. Switch one on in the Carriers tab."). To set up your first calendar:
- Open Modules → Module Manager → Delivery Date & Time Slots → Configure (in a multistore, first select one shop in the Back Office header).
- Open the Carriers tab and click Edit next to the carrier that delivers on chosen days.
- Switch Calendar on to Yes, check the delivery days, add time slots if you deliver in slots, and click Save.
- Open your shop, put a product in the cart and go to the delivery step of the checkout: the calendar appears under the carriers when you select that carrier.
3. How it works
One calendar per carrier
Each carrier of the shop has its own calendar, switched on or off separately. Carriers without a calendar work as before: no date is asked. A calendar belongs to a carrier and a shop; when you edit a carrier in Shipping → Carriers, PrestaShop may save it under a new ID, but it keeps the carrier's identity and the calendar stays with it.
Which days customers can choose
The calendar shows the days from today to today plus Days customers can book ahead. Each day is either available, closed or full:
- The earliest day is today plus the Preparation time (days). When a Cut-off hour is set and the current time is at or after it, the earliest day moves one day later. The preparation time counts calendar days, weekends included; delivery days and days off still apply afterwards.
- A day before the earliest day, a day of the week that is not ticked in Delivery days, and a day off are closed.
- When Orders per day is set and that many orders are booked for the day, the day is full.
- With time slots, a slot that has a limit and that many orders is full. A day whose slots are all full is full. On today's date, a slot whose start time has passed is no longer offered.
- A carrier without time slots delivers during the whole day: the customer only picks a day.
All times are the time of your shop, as set in International → Localization (Time zone).
Only orders count, not carts: an order uses its place as soon as it is placed, and gives it back when its status becomes Canceled or Payment error. Limits are counted per carrier: two carriers with the same slots have separate places.
What the customer sees
At the delivery step of the checkout, under the list of carriers, the customer sees the calendar of the selected carrier (when its calendar is on). Selecting another carrier shows that carrier's calendar instead.
- Delivery date — one grid per month, weeks starting on Monday. Available days can be clicked; closed days are greyed; full days are greyed and struck through. When the choice is optional, No preference comes first.
- Delivery time — when the carrier has time slots: "Choose a day to see the delivery times." until a day is picked, then the slots of that day. A full slot is shown greyed with "Full" and cannot be chosen.
- When the carrier has no free day at all in the calendar: "No delivery date is available for this carrier at the moment. Choose another carrier or contact us."
When the customer clicks Continue, the choice is checked and saved with the cart. The delivery step stays open with a message when something is missing or no longer free:
- "Choose a delivery date before you continue." — no day chosen while the choice is required;
- "Choose a delivery time for the day you picked." — a day without a slot;
- "The delivery date you chose is no longer available. Choose another one." — the day or slot got full, the day passed, or you changed the calendar since.
The same check runs again when the customer comes back to the payment step later. A customer who returns to the checkout finds their choice selected, as long as it is still free.
Where the date appears
The date and slot are copied to the order when it is placed. A later change of the calendar does not change the dates of past orders. The text looks like "Friday, 12/18/2026, 08:00–12:00": the day of the week, the date in the format of the language and the slot (only the date for a whole-day carrier). It appears:
- in the Back Office, on the order page: a Delivery date card next to the order details (see section 7 for the card "No delivery date is saved for this order.");
- on the order confirmation page and in the customer's order history (the order details): "Delivery date: …";
- in the order confirmation e-mail, after the carrier name (setting Date in the order confirmation e-mail);
- on the PDF invoice and the delivery slip: a line "Delivery date: …" (setting Date on PDF invoices and delivery slips), in the language of the order.
For other e-mails, the module provides the variable {ap_delivery_date} (see section 4, Settings).
Personal data, connections, failures
The module stores the calendars, the date chosen for each cart and the date copied to each order — no personal data of its own. It sets no cookie, keeps nothing in the visitor's browser, makes no outgoing connection (no licence check, no statistics, nothing to addonspresta.com or any other server) and has no cron job. The Deliveries tab shows customers' names and delivery places from the orders, only to employees who may view the orders.
If the module fails on a page, the checkout works without the calendar, and one line at most per hour is written to Advanced Parameters → Logs, starting with "Delivery Date:".
4. Features and settings
Open Modules → Module Manager → Delivery Date & Time Slots → Configure. The Help box at the top links this manual and the module page at addonspresta.com in the language of your Back Office, gives our support address and shows the installed version. Below it are three tabs: Settings, Carriers and Deliveries.
Settings
Saved for the shop or shop group selected in the Back Office header with Save; "Settings saved." confirms it.
Enabled
On after the installation. "Switched off, customers see no delivery calendar and choose no date. The calendars and the dates of past orders stay." While it is off, new orders get no date, and the dates of past orders are no longer shown to customers, in e-mails or on PDFs; the Delivery date card of the Back Office order page still shows them.
Date in the order confirmation e-mail
On after the installation. "Adds the delivery date after the carrier name in the order confirmation e-mail. Every order e-mail can also show it with the {ap_delivery_date} variable."
In the order confirmation e-mail the carrier then reads, for example, "Local van – Friday, 12/18/2026, 08:00–12:00".
No change of your e-mail templates is needed. To show the date in another e-mail about an order (for example the
Shipped status e-mail), add {ap_delivery_date} to that e-mail's template, in every language. For an order
without a delivery date, or when Enabled is off for the shop, the variable is empty.
Date on PDF invoices and delivery slips
On after the installation. "Prints the delivery date on the invoice and the delivery slip of the order." The PDFs are created when they are downloaded, so the switch applies to old orders too.
When Enabled is on but no carrier of the shop has a calendar switched on, the tab warns: "No carrier of this shop has a delivery calendar yet: customers see no calendar. Switch one on in the Carriers tab."
Carriers
Calendars belong to one shop: the tab works when one shop is selected in the Back Office header ("Delivery calendars belong to one shop. Select one of your shops in the header." otherwise).
"Each carrier has its own delivery calendar. Customers see the calendar under the carriers at checkout when they select a carrier whose calendar is on." The table lists every carrier of the shop, inactive ones marked "(inactive)", with the columns Carrier, Calendar (On / Off), Choice (Required / Optional), Delivery days (for example "Mon, Tue, Wed, Thu, Fri") and Time slots ("Time slots: 3" or "Whole day"). Edit opens the calendar of a carrier ("Delivery calendar: Local van"). A new carrier starts with the calendar off, delivery from Monday to Friday, 1 day of preparation and 14 days ahead.
Calendar on
"Customers who select this carrier choose a delivery date at checkout." Off by default.
Choice required
"When it is off, customers may leave "No preference"." On by default. When it is on, the customer cannot leave the delivery step without a day (and a slot, when the carrier has slots).
Preparation time (days)
"The earliest delivery day is today plus this number of days. 0 allows delivery today." A whole number from 0 to 365, counted in calendar days.
Cut-off hour
"After this hour (shop time) the earliest day moves one day later. Leave it empty for none." Write it as HH:MM,
for example 14:00.
Delivery days
The days of the week the carrier delivers, at least one.
Days customers can book ahead
"The last day of the calendar is today plus this number of days." A whole number from 1 to 365.
Orders per day
"When this number of orders is booked for a day, the day is full. 0 means no limit." Up to 100,000. It counts every order of the carrier for that day, whatever the slot.
Time slots
"One slot per line, for example 08:00-12:00. Add a limit of orders after a space: 08:00-12:00 10. Leave it empty to deliver during the whole day."
08:00-12:00— a slot without a limit of its own;08:00-12:00 10— a slot that is full after 10 orders.
The start must be before the end, 24:00 is allowed as an end, and a slot cannot be listed twice. Up to 24 slots per
carrier; the customer sees them sorted by start time.
Days off
"One per line: a date (2026-12-24), a range (2026-12-24 - 2026-12-26), or a day of every year (12-25, 12-24 - 12-26)."
2026-12-24— one date;2026-12-24 - 2026-12-26— a range of dates, both ends included (keep the spaces around the dash);12-25— the same day every year (month-day);12-24 - 12-26— the same days every year; a yearly range may cross the new year, for example12-31 - 01-01.
Up to 200 lines; a range of dates may not be longer than a year.
Saving the calendar
Click Save ("The delivery calendar of Local van is saved.") or Back to the carriers. When something is wrong, nothing is saved, the reasons are listed above the form, and your values stay in the form:
- "The preparation time must be a whole number of days from 0 to 365."
- "Enter the cut-off hour as HH:MM, for example 14:00, or leave it empty."
- "Tick at least one delivery day."
- "The days customers can book ahead must be a whole number from 1 to 365."
- "The orders per day must be a whole number from 0 (no limit) to 100000."
- "This time slot cannot be read: … Write it as 08:00-12:00, with an optional limit after a space: 08:00-12:00 10." / "This time slot is listed twice: …" / "A carrier can have up to 24 time slots."
- "This day off cannot be read: … Write a date as 2026-12-24, a range as 2026-12-24 - 2026-12-26, or a day of every year as 12-25." / "This range of days off is longer than a year: …" / "You can list up to 200 days off."
Example
A local van delivers Monday to Saturday in three slots, needs one day to prepare an order, and takes orders for the next day until 14:00:
- Calendar on: Yes; Choice required: Yes
- Preparation time (days): 1; Cut-off hour: 14:00
- Delivery days: Monday to Saturday
- Days customers can book ahead: 14; Orders per day: 25
- Time slots:
08:00-12:00 10
12:00-16:00 10
16:00-20:00
- Days off:
12-24 - 12-26
2026-12-31
01-01
A customer who orders on Monday 21 December 2026 at 10:00 can choose from Tuesday 22 December (at 15:00 the earliest day would be Wednesday 23). Sundays, 24 to 26 December, 31 December and 1 January are closed. The calendar ends on Monday 4 January 2027. When 10 orders are booked for Tuesday 08:00–12:00, that slot shows "Full"; the evening slot has no limit of its own, but when the day has 25 orders, Tuesday is full.
Deliveries
The orders to deliver, for the shop selected in the header. The tab is shown only to employees who may view the Orders page (or to a super admin), because it shows customers' names and places; others see "The list of deliveries shows customers' orders: it needs access to the Orders page." Access is set per profile in Advanced Parameters → Team → Permissions.
- From, To — the period, by delivery date; today and the next six days by default. "At most 92 days are shown at once."
- Carrier — All carriers or one carrier.
- Show — updates the list.
Orders per day and time slot sums up each day, carrier and slot, for example "2026-12-22, Local van 08:00–12:00: 7 / 10" — the orders and the limit of the slot (of the day for a whole-day carrier). A line in red is over its limit (see section 7).
Below is the list: Delivery date, Time slot, Order (the reference, a link to the order), Customer, Delivery address (postcode and city), Carrier and Order status. "Greyed orders are cancelled or not paid: they do not use a place." — orders whose status is Canceled or Payment error. "No order is to be delivered in this period." when the list is empty.
Export CSV downloads the same period and carrier as a file deliveries-<from>-<to>.csv (UTF-8, columns separated
by semicolons) with the columns Delivery date, Time slot, Order, Customer, Postcode, City,
Carrier and Order status. It opens in Excel or LibreOffice Calc; a value starting with =, +, - or @
gets an apostrophe in front so that the spreadsheet does not run it as a formula.
5. Multistore
Calendars belong to one shop: each shop has its own calendar for each carrier, also for a carrier shared by several shops, and you edit it with that shop selected in the Back Office header. The Deliveries tab also works in one shop at a time. Settings are saved for the shop or shop group selected in the header; values saved with All shops apply to every shop that has no value of its own. In the All shops or a group context only an employee who manages every shop of that context can save ("Select one of your shops in the header to change the settings: in the All shops or group context they also apply to shops you do not manage.").
Each storefront uses the calendars, limits and settings of its own shop. Deleting a shop deletes its calendars and the delivery dates of its orders. One licence covers every shop of the installation.
6. Uninstall
Module Manager → Delivery Date & Time Slots → Uninstall deletes the calendars of every carrier, the settings and the delivery dates saved with carts and orders, in every shop. They cannot be restored: past orders no longer show a delivery date anywhere, also not in the Back Office or on PDFs. Reset does the same and then installs the module again with the default settings and no calendar. Export the Deliveries you still need to CSV and write your calendars down before you uninstall or reset. Your carriers, carts and orders themselves are not touched.
Disable keeps the calendars, the settings and the dates; while the module is disabled, customers choose no date and no date is shown. Switching off Enabled in the settings does the same for one shop, except that the Back Office order card still shows the dates.
7. FAQ and troubleshooting
The calendar does not appear at the checkout. Check that the module is enabled in the Module Manager and Enabled is on for this shop; that the selected carrier's calendar is On in the Carriers tab of this shop; and that the customer has a delivery address. The calendar is shown under the carriers of PrestaShop's own checkout with the Classic and Hummingbird themes and themes based on them; from version 1.0.1 also in the one-page checkout built into PrestaShop 9.2 (there the browser asks for a required date before the payment); other one-page checkout modules that replace the checkout are not supported. Clear PrestaShop's cache in Advanced Parameters → Performance after changing a theme.
The customer sees "No delivery date is available for this carrier at the moment." No day of the calendar is free: check the delivery days, days off, preparation time and Days customers can book ahead, and whether the days are full (Deliveries tab). When the choice is required, the customer cannot continue with that carrier.
Why is today or tomorrow not offered? The earliest day is today plus the preparation time, one day later after the cut-off hour, and it must be a delivery day and not a day off. On today's date, slots that have already started are not offered. The time is the shop's time zone (International → Localization).
A slot is shown over its limit in the Deliveries list. The module does not hold a place while a customer pays. When two customers pay for the last place of a slot at the same moment, or when a customer leaves the payment page open and pays after the slot got full or you added a day off, both orders keep their date, because the payment was taken. The summary then shows the slot in red; contact one of the customers if you cannot deliver.
An order has no delivery date, and the order page says "No delivery date is saved for this order." This card appears only when the order's carrier has a calendar that is on and whose choice is required, and the calendar was not saved again after the order was placed — so a date was expected. Orders placed before the calendar's last save, and orders of carriers with an optional choice (where the customer may leave No preference), get no card. The order got no date because:
- the customer finished the payment after the chosen day had passed (for example on the payment provider's page, days later) — such a date is not copied to the order;
- the customer paid with an express checkout button or a direct payment link that skips the delivery step of the checkout.
Contact the customer to agree on a day.
Some carts get no calendar at all. When the products of a cart cannot all travel with one carrier, PrestaShop offers a delivery option made of several carriers; such an option has no calendar and its orders get no date. On PrestaShop 9 the experimental feature "Improved shipment" (Advanced Parameters → New & Experimental Features) is not supported: keep it switched off.
Can I change the delivery date of an order? Not in version 1.0: the date is copied when the order is placed. Agree on another day with the customer and note it in the order (for example as a private note).
The e-mail shows no delivery date where I added {ap_delivery_date}.
The order has no delivery date (see above), or Enabled is off for the shop: the variable is then empty. While the
module is disabled in the Module Manager or uninstalled, PrestaShop runs none of its hooks and the e-mail shows
{ap_delivery_date} as written, so remove the variable from your templates before you uninstall the module.
"The page has expired. Reload it and save again." The page was open for a long time, or you logged in again in another tab. Reload the page and save again.
A text of the module is still in English in my shop or Back Office. Open International → Translations → Installed modules translations, select the module and your language, and check the translation. The day of the week in the delivery date and the names of the months come from the module's translations too.
8. Updates and support
Updates are free for life: download new versions from My account → Order history at addonspresta.com and upload them like a new module. Your calendars, settings and the dates of orders are kept.
Support is included for 12 months from your order: write to mail@addonspresta.com or use the contact form at addonspresta.com (Monday to Friday, 10:00–16:00; we usually answer within 2 business days). Please include your PrestaShop version, the module version and the steps that lead to the problem.