Swift Delivery Date for WooCommerce

Description

Swift Delivery Date for WooCommerce helps online stores show clear estimated delivery dates, dispatch timelines, and daily order cut-off countdowns directly on WooCommerce product pages.

Built with a PHP DateTimeImmutable date calculation engine, scoped CSS, and lightweight Vanilla JavaScript, the plugin computes delivery windows accurately in your store’s native WordPress timezone and supports full-page caching environments.

Key Features

  • PHP Date Engine: Uses DateTimeImmutable and your WordPress store timezone for accurate business-day, leap-year, and Daylight Saving Time (DST) calculations.
  • Separate Processing & Transit Days: Configure warehouse packing/dispatch business days independently from courier minimum and maximum transit days.
  • Daily Order Cut-off & Live Countdown: Automatically shifts orders placed at or after your daily cut-off time to the next working day and displays a real-time ticking countdown.
  • Custom Weekend Days: Skip Friday–Saturday, Saturday–Sunday, or any custom non-working days.
  • 2 Storefront Card Presets: Switch between the 3-Step Visual Timeline (Ordered, Dispatched, Est. Delivery) and the Minimal Delivery Card.
  • Split-Screen Admin Dashboard with Live Preview: Adjust schedules, labels, presets, and brand accent colors while viewing an instant side-by-side preview.
  • Cache Compatibility Mode: Optional REST API endpoint (/wp-json/wedc/v1/estimate) with Cache-Control: no-store headers keeps dates and countdowns accurate when using full-page caching (WP Rocket, LiteSpeed Cache, Cloudflare).
  • Variable Product & Stock Aware: Automatically hides estimates for virtual, downloadable, out-of-stock, or backorder items and updates dynamically when shoppers switch product variations.
  • HPOS-Safe Order Delivery Snapshot: Saves each order’s estimated delivery window as immutable WooCommerce order metadata using official CRUD APIs.
  • Shortcode Support: Place [swift_delivery_date] anywhere inside Block Themes, Elementor, or other page builders.

How to Configure

  1. Go to WooCommerce Swift Delivery in your WordPress admin dashboard.
  2. Enable storefront display and set your Processing Days, Transit Min/Max Days, Daily Cut-off Time, and Non-Working Weekend Days.
  3. Choose a card style (3-Step Visual Timeline or Minimal Delivery Card), pick your accent color, and select where the card appears on single product pages.
  4. (Optional) Turn on Cache Compatibility Mode if your site uses full-page caching, and enable Save Delivery Snapshot on Orders to record estimates on each order.
  5. Click Save Changes and view any in-stock physical product page to confirm the delivery card appears.

Screenshots

Installation

  1. Upload the swift-delivery-date-for-woocommerce folder to the /wp-content/plugins/ directory, or install the plugin directly through the Plugins Add New Plugin screen.
  2. Activate the plugin through the Plugins screen in WordPress (requires WooCommerce 8.0 or higher).
  3. Navigate to WooCommerce Swift Delivery to configure your delivery schedule, cut-off time, weekends, and card design.

FAQ

Does this work with full-page caching plugins like WP Rocket or LiteSpeed Cache?

Yes. Enable Cache Compatibility Mode under WooCommerce Swift Delivery. The plugin fetches a fresh no-store estimate once on page load and falls back cleanly if offline.

Is it compatible with WooCommerce High-Performance Order Storage (HPOS)?

Yes. HPOS compatibility is explicitly declared and all order metadata is saved using the official WooCommerce CRUD API.

Can I place the delivery card anywhere in a Block Theme or Elementor?

Yes. Insert the [swift_delivery_date] shortcode into any single product template.

Which timezone does the cut-off countdown use?

All delivery dates and cut-off deadlines follow your store’s WordPress timezone configured under Settings General.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“Swift Delivery Date for WooCommerce” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.0

  • Initial release with PHP DateTimeImmutable engine, 3-Step Visual Timeline and Minimal Card presets, live cut-off countdown timer, split-screen admin live preview, HPOS-safe order snapshots, and optional REST API cache compatibility mode.