This project is not covered by Drupal’s security advisory policy.

Commerce Delivery Promise will tell Drupal Commerce shoppers when an order ships and when it arrives, such as "Order within 2h 14m to ship today. Arrives Tue 2 Dec – Thu 4 Dec.", worked out from order cutoffs, business days, holidays, handling time and transit time, and kept correct on cached pages.

Status: No release yet. The module is under active development; the first beta follows once its automated test suite and an independent review pass.

This module is developed with AI assistance. The maintainer reviews and tests every release before publishing it.

Planned for 1.0

None of this is released yet. The first release will provide:

Settings

  • Promise settings for each store: a calendar from Business Calendar, an order cutoff time in the store's time zone, handling time in business days, and minimum and maximum transit days for each shipping method.
  • A lead-time field on product variations, for made-to-order or backorder days. With Commerce Stock installed, in-stock and backordered items can get different lead times.
  • Every cutoff and lead time as configuration; nothing is hardcoded.
  • An event that lets a site change the inputs and the results, for example to use per-warehouse cutoffs from an ERP.

Calculation and display

  • A ship date and a delivery window for a product variation, an order item, a cart and a shipment.
  • Display on the product page, in the cart, and in a checkout pane for each shipment. Commerce Shipping is used when it is installed, but is not required.
  • The promise stored on the order when it is placed, so later configuration changes never rewrite what a customer was told, and tokens for order emails.

Correct on cached pages

  • The page carries the next several cutoff times as data, and a small script works out the countdown text in the browser. HTML served from Drupal's anonymous page cache, which ignores max-age, therefore stays right.
  • For the dynamic page cache, a max-age that ends at the next cutoff.
  • A countdown that screen readers announce politely (aria-live="polite"), without announcing every second.

Requirements

Planned for the first release:

Installation

Installation instructions arrive with the first release. For the first beta, the commands will be:

composer require 'drupal/commerce_delivery_promise:^1.0@beta'
drush en commerce_delivery_promise

Configuration and permissions

Not final yet. This section will list each settings page and each permission, by its real label, with the first release.

Similar projects

Checked on drupal.org in November 2026.

  • Commerce Timeslots lets customers book a delivery time slot. Choose it when the customer picks the time; this module works out the dates a store can promise.
  • Commerce Delivery is a Drupal 7 alpha from 2012, with no release for current Drupal.
  • We found no current drupal.org project that combines order cutoffs, business days and holidays into ship and delivery dates.

Support and maintenance

Report bugs, ask for features and comment on the planned scope in the issue queue. Each release will have notes describing what changed.

This project is not covered by Drupal's security advisory policy. Until it is, security issues are handled in the public issue queue and fixed in ordinary releases.

A read-only mirror is on GitHub at DanePete/drupal-commerce-delivery-promise. It will mirror the drupal.org repository once code is published there; development and issues stay on drupal.org.

Maintainer

Created and maintained by deadnorth (Dead North).

Project information

Releases