=== WpDevArt: Estimated Delivery Date for WooCommerce ===
Contributors: wpdevart
Tags: woocommerce, estimated delivery date, delivery date, shipping date, estimated shipping date
Requires at least: 6.1
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Show shoppers when their order arrives: delivery dates and an order-by countdown on product pages, in the cart and checkout, saved on every order.

== Description ==

"When will it arrive?" is the question shoppers ask before they buy. Our **Estimated Delivery Date for WooCommerce** plugin answers it on every product page, in product lists, in the cart and at checkout: "Order within 2h 15m to get it Thu 16 – Mon 20 Oct". The date is worked out from your real shipping days, order-by times, holidays, processing and transit times, so Saturday orders, holidays and the order-by time are always handled correctly.

The promise doesn't stop at the product page. It is checked again when the order is placed, saved on the order and on each item, and shown on the thank-you page, in My Account, in WooCommerce's emails, on invoices and in the admin, where you can sort orders by their delivery date.

Everything in the free plugin stays free.

➡ **[GET PREMIUM VERSION NOW!](https://wpdevart.com/woocommerce-estimated-delivery-date-plugin)**

[GET SUPPORT](https://wordpress.org/support/plugin/wpdevart-estimated-delivery-date-for-woocommerce/)

https://www.youtube.com/watch?v=z5k1IkWNR-0

= Free version features =

* **Shipping days and an order-by time per day** — For example 14:00 Monday to Thursday and 12:00 on Friday; later orders count for the next shipping day.
* **Unlimited holidays and closed periods** — Single days or ranges, repeating every year, marked as "we don't ship", "carrier doesn't deliver" or both.
* **Separate shipping and delivery days** — You ship Monday to Friday, your carrier also delivers on Saturday.
* **Processing plus transit time, as ranges** — Same-day dispatch (0 days) or more, plus the carrier's days, giving a date or a range.
* **Processing time per category, product and variation** — With an optional note for shoppers, such as "Made to order".
* **Rules by shipping class, tag, brand or attribute** — "Shipping class Bulky: +2 days" or "Brand X: 5 to 7 days", in the order you choose.
* **Transit times per shipping zone and method** — Set in one table or in each shipping method's own settings window.
* **Stock aware** — Extra days for backorders, no estimate for products that can't be bought, and the backorder time in the cart when the quantity is more than you have.
* **Live order-by countdown** — "Order within 3h 12m", with "today" and "tomorrow", rolling over to the next shipping day without a reload.
* **Countdown options** — Show it within 24 hours of the order-by time or only in the last hours, with or without seconds, as text, highlighted or boxes.
* **Works with page caching out of the box** — Dates and the countdown are worked out in the browser from a schedule in the page, so cached pages never show yesterday's date.
* **Product pages with variations** — The estimate follows the chosen variation.
* **Choose the position in product lists** — Before or after the product name, the price or the Add to cart button, with a switch for the Related products list.
* **Shop and category pages** — A short "Get it Thu 16 Oct" line in product lists and Product Collection blocks.
* **Block, shortcode and Elementor widget** — Place the estimate anywhere.
* **Follows the shopper's location** — Product pages switch to the shopper's own shipping zone, also on cached pages.
* **A date for each item and each shipping option** — In the cart, mini-cart and checkout, classic and blocks.
* **Local pickup** — "Ready for pickup Tue 14 Oct", processing time only.
* **One delivery line for the whole order** — With the countdown, in the cart and checkout totals.
* **The promise is saved on the order** — Calculated again when the order is placed, recalculated once when an order is paid after the order-by time, never blocking payment.
* **Thank-you page, My Account, emails and invoices** — With a switch for each WooCommerce email.
* **Admin orders screens** — See and correct the promise on the order screen, and a sortable "Deliver by" column.
* **Editable messages with placeholders** — {countdown}, {date}, {ship_date}, {days} and more, with bold and links.
* **Date formats and wording** — A range, the latest date, a number of days or only the shipping day.
* **Three ready styles, icons and colors** — Using your theme's font.
* **Preview mode** — Only shop managers see the estimates until you go live.
* **Live preview in the settings** — See your wording and style change as you type.
* **Delivery simulator** — Pick a product, a moment and a destination, and see the date with every step that produced it.
* **Bulk and quick edit** — Processing times for many products at once, and for all variations in one step.
* **Import and export settings** — From staging to the live store in one file.
* **Works with WpDevArt Pre-Orders and Wishlist & Quick View** — Pre-order products count from their release date; the estimate shows in the quick view popup.

= Premium version features =

* **Order-by times per shipping zone and method** — Such as "Express: order by 12:00".
* **Several carrier pickups a day** — The countdown follows the next pickup.
* **Advanced rule builder** — Category, destination, shipping method, stock, customer role and cart size in one rule, with its own message.
* **Seasonal schedules** — Temporary changes that switch on and off by themselves.
* **One-click public holidays** — National holidays of many countries, worked out for every year.
* **Warehouses, suppliers and dropshipping** — Ship-from sources with their own times, order-by times and holidays.
* **Restock dates and supplier lead times** — "Back in stock 3 Nov, delivered by 7 Nov".
* **Holiday "last order" countdowns** — "Order by Thu 18 Dec to get it before Christmas".
* **Sitewide order-by bar** — "Order in the next 2h 10m for same-day dispatch".
* **"Delivering to…" picker** — Shoppers enter their country and postcode to see their own date.
* **"Or get it faster" line** — The fastest shipping option under the estimate.
* **Delivery times table** — Every zone and method with its transit time, as a block and a shortcode.
* **Design gallery and countdown styles** — Ready-made designs and your own icons.
* **Delivery timeline** — "Ordered today → Ships Mon 13 → Delivered Thu 16".
* **Ship-by dashboard and late-order alerts** — Orders due today, at risk and late, with a daily email.
* **Change dates and tell the customer** — On one order or many.
* **Split-delivery summary** — "Arrives in 2 deliveries".
* **Dates on quotes, repeat and manual orders** — With WpDevArt Request a Quote and Duplicate & Repeat Orders.
* **Lead-time manager** — Every product's processing time on one screen, with CSV import and export.
* **On-time report** — How often orders shipped and arrived on the promised date.

➡ **[GET PREMIUM VERSION NOW!](https://wpdevart.com/woocommerce-estimated-delivery-date-plugin)**

= Why show an estimated delivery date in your WooCommerce store? =

Online shoppers compare more than prices. Before adding a product to the cart, many of them want to know when the parcel will reach their door, and a vague "ships in a few days" often sends them to a competitor. A clear estimated delivery date on your WooCommerce product pages answers that question at the right moment. It sets honest expectations and makes buying feel safer, especially for gifts, urgent purchases and seasonal orders.

This WooCommerce estimated delivery date plugin works out the expected arrival date and the dispatch date of each product from facts you already know about your store: the weekdays you send parcels, the cutoff time for same-day dispatch, how long packing takes, how many days your courier needs for each shipping zone, and the days nobody works. Stock status counts too, so items in stock and items on backorder each get a delivery window that fits.

The estimated delivery date appears on the product page, in shop and category listings, in the cart, at checkout and in the order confirmation. So customers see the same delivery window from their first visit until the parcel leaves your warehouse. Store owners gain as well: fewer questions about shipping times before a sale, fewer emails about order status after it, and a clear delivery date on every order in the WooCommerce admin.

The plugin suits many kinds of WooCommerce shops: fashion and electronics stores with next-day shipping, print-on-demand and made-to-order products with longer production times, furniture and bulky goods sent by freight, and international stores with different delivery times per country. Start with one default delivery time, then refine it per category, product, variation or shipping method as your store grows.

= Dates you can trust =

The plugin has one date engine, used everywhere: product pages, lists, cart, checkout, the saved promise, emails and the simulator. It uses your store's time zone, handles daylight saving, midnight, month and year ends, and the exact order-by minute, and shows day and month names in your site's language.

= Built for today's WooCommerce =

* Works with High-Performance Order Storage (HPOS) and the classic posts storage.
* Works with the Cart and Checkout blocks and the classic cart and checkout, block themes and classic themes.
* Works with full-page caches (WP Rocket, LiteSpeed Cache, W3 Total Cache, WP Super Cache, Cloudflare and host caches). Nothing to switch on, no cache exclusions needed.
* Shop managers can change the settings. No admin ads.
* Translation ready, WPML ready, RTL ready. The estimate template can be overridden from your theme.

= Who is it for? =

* **Every store that ships**: fewer "where is my order?" questions and more confident buyers.
* **Stores with an order-by time**: "Order within 2h for same-day dispatch".
* **Made-to-order and handmade shops** with longer processing times per product.
* **Stores shipping to several zones** with different transit times.

= Developer friendly =

* Functions: `wpdevart_edd_get_estimate()`, `wpdevart_edd_get_order_promise()`, `wpdevart_edd_calculate_order_promise()`, `wpdevart_edd_estimate()`.
* Filters: `wpdevart_edd_profile`, `wpdevart_edd_processing`, `wpdevart_edd_transit`, `wpdevart_edd_calendar_config`, `wpdevart_edd_calendar_day`, `wpdevart_edd_holidays_on`, `wpdevart_edd_product_is_hidden`, `wpdevart_edd_stock_state`, `wpdevart_edd_is_pickup_method`, `wpdevart_edd_date_format`, `wpdevart_edd_default_settings`, `wpdevart_edd_capability`, `wpdevart_edd_template_file`.
* Actions: `wpdevart_edd_loaded`, `wpdevart_edd_promise_saved`, `wpdevart_edd_promise_changed`, `wpdevart_edd_settings_saved`, `wpdevart_edd_settings_tab_content`.
* REST: `GET /wp-json/wpdevart-edd/v1/estimate?product_id=123&country=GB&postcode=E1` for headless stores.
* JavaScript: `window.wpdevartEddFront`.

= Credits =

* The truck and box icons are from [Tabler Icons](https://tabler.io/icons), Copyright (c) 2020-2024 Paweł Kuna, MIT License.

Have questions, ideas or suggestions? [Share them with us](https://wordpress.org/support/plugin/wpdevart-estimated-delivery-date-for-woocommerce/).

== Installation ==

1. Install and activate WooCommerce.
2. Install and activate WpDevArt: Estimated Delivery Date for WooCommerce from the Plugins screen (or upload it to `/wp-content/plugins/`).
3. Open **WDA Delivery → Settings**: set your shipping days, order-by times, processing and transit times, and your holidays. The plugin starts in preview mode: only shop managers see the estimates. Check a few product pages and the delivery simulator, then click **Go live**.

== Frequently Asked Questions ==

= How is the date worked out? =

An order placed before the order-by time of a shipping day counts for that day; later orders, and orders on days you don't ship, count for the next shipping day. The processing time (in shipping days) gives the shipping day, and the transit time (in your carrier's delivery days) gives the delivery day. Holidays are skipped on both calendars. The delivery simulator on the Tools tab shows every step for any product, moment and destination.

= Does it work with caching plugins? =

Yes, with no setup. Cached pages carry a schedule of the coming weeks, and the shopper's browser picks the right date and countdown from it. When the shopper's location or stock can change the date, the page asks the server once for fresh data. Saving the settings also clears the cache of the main cache plugins, so changes show at once.

= What happens when the order-by time passes during checkout? =

The promise is calculated again at the moment the order is placed, and that is the date saved on the order. Orders paid later (for example by bank transfer) are recalculated once from the payment, if the payment came after the order-by time.

= Can I change the promised date of an order? =

Yes. The "Delivery promise" box on the order screen shows the dates and lets you change them; an order note records the change.

= Does it work with HPOS and the Cart and Checkout blocks? =

Yes. The plugin declares compatibility with High-Performance Order Storage and with the Cart and Checkout blocks. In the blocks, the date under each shipping option needs WooCommerce 9.2 or later.

= Can I override the template? =

Yes. Copy `templates/estimate.php` to `your-theme/wpdevart-estimated-delivery-date-for-woocommerce/estimate.php`.

= Does the plugin send data to external services? =

No. It makes no requests to external services and stores its data in your own database. See the External services section.

= How do I remove all data when I delete the plugin? =

Turn on "Delete all data when uninstalling" under WDA Delivery → Settings → Tools. When the plugin is deleted, its settings and the processing times saved on products and categories are removed. Dates already saved on orders stay, so old orders keep their promise.

= How do I translate the plugin? =

It is translation-ready with the text domain `wpdevart-estimated-delivery-date-for-woocommerce`. Translations can be contributed on translate.wordpress.org. WPML and Polylang users can translate the messages under String Translation; TranslatePress translates them on the page.

= Does the Premium version replace the free version? =

No. The Premium version is a separate add-on that extends the free plugin. Both stay installed and active.

== Screenshots ==

1. Products List
2. Product Page
3. Estimated Delivery Date Settings Page
4. Ship-By Dashboard
5. Holydays Settings
6. Estimated Delivery Date Advanced Rules

== External services ==

The plugin makes no automatic requests to any external service: no tracking, no update pings and no remotely loaded assets.

The only third-party destinations it links to are opened by the administrator on purpose, from the plugin's own screens, and receive nothing but the click:

* **wpdevart.com** — the "Get Premium" and Featured Themes / Featured Plugins links lead to the developer's website. [Privacy policy](https://wpdevart.com/privacy-policy/).
* **wordpress.org** — the "Get Support" link opens the plugin's support forum, and the review request links to its review form.

== Changelog ==

= 1.0.0 =

* Initial version.