VibeFox Delivery Date — Help
Requirements
WordPress: 6.0 or later.
WooCommerce: 7.0 or later, installed and active. The plugin refuses to activate without it.
PHP: 8.0 or later.
External services: none. All dates are calculated on your server.
VibeFox license key: bought on vibefox.net. One key works on one domain.
Installation
1. In WordPress go to Plugins > Add New > Upload Plugin, choose the plugin ZIP file and click Install Now. You can also upload the vfw_delivery_date folder to /wp-content/plugins/ by FTP.
2. Click Activate. WordPress opens VF Delivery Date > Settings > License. Paste your VibeFox license key into License key and click Activate. Until the key is active the plugin stays switched off and its menu shows only Settings (see License key).
3. The menu VF Delivery Date appears in the admin with Rules, Holidays & calendar, Design and Settings. The screens are available to administrators.
4. In VF Delivery Date > Settings > General set the cut-off time, the shop and carrier working days and the default preparation and delivery days.
5. In Settings > Shipping methods enter the delivery days of each shipping method.
6. Add holidays in VF Delivery Date > Holidays & calendar and check the result with Delivery date preview.
How the date is calculated
1. Processing starts today when today is a shop working day and the order is placed before the cut-off time; otherwise on the next shop working day. Weekends and shop holidays are skipped. A product's Available from date moves the start further.
2. Ship date = start + preparation days (+ extra days for back-ordered or out-of-stock items), counted in shop working days.
3. Delivery date = ship date + the delivery days of the chosen shipping method, counted in carrier working days. 0 = delivered or ready the day it ships, for example local pickup.
The minimum and maximum days give a date range. For a cart with several products the order arrives with its slowest item: the order date is the latest of the item dates. Everything is evaluated in the time zone set in the plugin, never in the visitor's browser or by the server clock.
Preparation days come from the product or variation first; otherwise from the first active matching rule; otherwise from the global default. For example, an order placed on Friday after the cut-off is processed on Monday (for a Monday–Friday shop), and with 1 preparation day it ships on Tuesday.
Configuration
Settings are on VF Delivery Date > Settings. The page has tabs on the left. Click Save Changes to save. Every save clears the cached calculations.
General
Enable delivery dates: the master switch for every place the estimated delivery date is shown. Default: on. Dates already saved in orders stay visible to the shop in the admin.
Cut-off time: orders placed on a shop working day before this time are processed the same day; later orders, and orders on days off, from the next shop working day. Default: 14:00. Empty = no cut-off.
Time zone: Site time zone (default; set in Settings > General) or UTC. The cut-off time and "today" are evaluated in this time zone.
Shop working days: the days on which orders are processed and shipped; preparation days are counted on these days. Default: Monday to Friday. Shop holidays are managed on the Holidays page.
Carrier working days: the days on which the carrier delivers; delivery days are counted on these days. Default: Monday to Friday.
Preparation days (min) / Preparation days (max): shop working days from the start of processing until the parcel is shipped. 0 = ships the same day. Default: 1 / 1. Products, variations and rules can override it.
Delivery days (min) / Delivery days (max): carrier working days in transit, used when the shipping method has no own value. Default: 3 / 5.
Zone for visitors without an address: used until the visitor enters a shipping country (when WooCommerce has no default customer location). The first configured method of the zone is used until a method is chosen. Default: — No zone (global default delivery days) —.
Shipping methods
A table of all shipping zones and their methods with Min days and Max days: carrier working days in transit for each method. Empty = the global default from the General section. 0 = delivered or ready the day it ships, for example local pickup. The table also lists the Local pickup of the Checkout block. Click Save shipping days to save the table.
Display
Where the date is shown:
Position on the product page: After price, Before the add to cart button, After the add to cart button (default), After product meta (categories, tags), Inside product meta or Below the product summary (full width).
Cut-off countdown on the product page: "Order within 2h 15min and get it by …", shown only on shop working days before the cut-off time. Default: on.
Show delivery icon: default on.
Show for virtual products / Show for downloadable products: default off.
Texts
Date format ({date}): how the {date} variable is written. Dates use the site date format from Settings > General.
Template text: default "Estimated delivery: {date}". Variables: {date}, {date_from}, {date_to}, {days_min}, {days_max}, {method_name}, {countdown}. Basic HTML is allowed.
Same-day delivery message: default "Delivery today!".
Next-day delivery message: default "Delivery tomorrow!".
Countdown template: default "Order within {countdown} and get it by {date_from}". Variables: {countdown}, {date_from}, {date_to}.
The text fields have language tabs on multilingual sites (see Multilingual sites).
Advanced
Enable caching: caches calculations per product, zone, method and processing day. They are cleared automatically when settings, rules, holidays, products or stock change. Default: on.
Cache TTL (seconds): default 3600.
Logging
Enable logging: records delivery calculations in the protected log in the logs folder of the plugin. Errors are also recorded while WP_DEBUG is on. Default: off.
The log viewer shows up to 300 recent entries, with Refresh and a Level filter (All levels, Info, Warning, Error).
Uninstall & Clear
Delete all data on uninstall: see Uninstall. Default: off.
Data cleanup: each button shows the number of records and asks for confirmation.
License
The VibeFox license block (see License key).
Status
Your PHP, WordPress and WooCommerce versions compared with the minimum versions, and the active multilingual plugin with the site languages.
Import / Export
Download Export File saves the settings as a JSON file. On another site choose the file and click Import.
Design
VF Delivery Date > Design sets the look of the delivery box on the product page, in the cart and on order pages. The values are output as CSS variables (--vfw-dd-bg, --vfw-dd-color, --vfw-dd-border, --vfw-dd-border-width, --vfw-dd-border-radius, --vfw-dd-padding, --vfw-dd-font-size).
Background color: default #f0f7ff. Text color: default #333333. Font size (px): default 14.
Border color: default #d0e3f7. Border width (px): default 1. Border radius (px): default 6. Padding (px): default 12.
Custom CSS: extra CSS for the delivery date output (classes .vfw-dd-delivery-box, .vfw-dd-countdown, .vfw-dd-total-row, .vfw-dd-minicart).
Preparation rules
VF Delivery Date > Rules (Preparation rules) gives groups of products their own preparation time. A product's own preparation days (Product data > Shipping) take precedence. Otherwise the first active rule that matches applies. Drag rows or edit the priority number to change the order. The Active switch in each row turns a rule on or off; click a rule name to edit it.
Add rule
Rule name: required.
Applies to: All products, Specific products, Product categories, Product tags, Brands, Attributes, Product type, Shipping class or Stock status.
Status: Active or Inactive.
Values: comma-separated. Products, categories, tags, brands, shipping classes: IDs. Attributes: taxonomy:slug (pa_color:red). Product type: simple, variable… Stock status: instock, outofstock, onbackorder. For variable products the stock status and shipping class of the chosen variation are checked.
Preparation days (min) / Preparation days (max).
Priority: lower number = checked first.
Export downloads the rules as a JSON file. Import adds rules from a JSON file (from Export) or from pasted JSON (…or paste the JSON). Imported rules are added as new rules; existing rules are not changed.
Holidays and calendar
VF Delivery Date > Holidays & calendar
Add holiday: Name and From (required), To (empty = a single day), Who is closed (Shop and carrier, Shop only (no processing / shipping) or Carrier only (no delivery)) and Repeats (Once or Every year). A yearly range can cross the new year, for example Dec 24 – Jan 2. A shop holiday moves processing and shipping; a carrier holiday moves only the delivery.
Public holidays: choose Russia, Ukraine or Kazakhstan and who is closed. Fixed-date public holidays are added as yearly holidays. Holidays that already exist are skipped. Moved days off (government transfers) are not included; add them as one-time holidays.
Working calendar: three months with the days when the shop and carrier work, Shop closed, Carrier does not deliver and Both closed. Use ‹, Today and › to move between months.
Delivery date preview: enter Order placed at (date and time), Product or variation ID and Shipping method (any method of any zone, or Not chosen yet (global delivery days)), then click Calculate. The preview shows when processing starts, the ship dates and the delivery dates.
Product settings
In the product editor, Product data > Shipping has a Delivery Date block:
Preparation days (min) / Preparation days (max): business days needed to prepare this product. Leave empty to use the global or rule defaults. If only one value is filled in, it is used for both.
Backorder extra days: additional business days added when the product is on backorder.
Out-of-stock extra days: additional business days added when the product is out of stock.
Available from date: if set, the delivery date calculation does not start before this date.
Disable delivery date: do not show an estimated delivery date for this product.
Each variation has Prep days (min), Prep days (max), Backorder extra days, Out-of-stock extra days and Available from date.
How it works
In the shop
The product page shows the delivery box with the estimated date and, before the cut-off on a shop working day, the countdown. The cart and the classic checkout show the date of each item and an Estimated delivery row for the whole order; it updates when the address or the shipping method changes. The Cart and Checkout blocks show the order's estimated delivery in the order summary (not per item). The mini-cart shows one line above its buttons.
With the order
The promised date is calculated on the server when the order is placed, on the classic checkout and on the block checkout, from the order's own items, address and shipping method, and saved in the order. Nothing sent by the browser is trusted. It is shown on the thank-you page, in My Account (the Delivery date column and the order view) and in WooCommerce e-mails (HTML and plain text). E-mails about cancelled, refunded or failed orders do not show it.
In the admin
The order screen has an Estimated delivery block. For completed orders it shows "Completed on … — on time" or "Completed on … — N days later than promised". The orders list has an Est. delivery column, also with HPOS.
Multilingual sites
The texts of the Texts tab are translated per language with qTranslate-XT tags ([:en]…[:ru]…[:]) or with the language tabs of the settings page (qTranslate-XT, Polylang, WPML). While a template is unchanged, the built-in translation of the plugin is used. A complete Russian translation is included.
The plugin shows an estimated delivery date only. It does not let the customer pick a delivery date or time slot, and it does not connect to carrier APIs.
Shortcode and templates
[vfw_dd_delivery_date]: the delivery date of the current product. Attributes: id (product or variation ID), format (your own text with the template variables, for example "Ships by {date_to}"), show_icon="0" to hide the icon, class (an extra CSS class). Example: [vfw_dd_delivery_date id="123" format="Ships by {date_to}" show_icon="0" class="my-class"].
Templates: copy a file from the plugin's template folder to yourtheme/vfw-delivery-date/ and edit it.
License key
VibeFox license key: bought on vibefox.net. One key works on one domain.
The plugin works only with an activated key. Without it the plugin is switched off: its features, shortcodes, blocks, admin pages, scheduled tasks and e-mails do not run, and its menu shows only Settings with the License tab. Your settings and data are kept and come back as soon as a key is activated. Right after you activate the plugin in Plugins, WordPress opens this tab.
Open VF Delivery Date > Settings > License, paste the key into License key and click Activate. The plugin switches on at once (the page reloads). The block License — VibeFox Delivery Date then shows the masked key, the status Active until with the date and the domain, the buttons Check now, Change key, Remove key and the link Manage licenses and domains in your account.
Messages under the field: The key looks incomplete — copy the whole key from your account. (nothing is sent), Key not found. Check that you copied the whole key from your account., This key belongs to another product. (use the key bought for VibeFox Delivery Date) and Domain limit reached (free a slot for this domain in your account, then click Check now). After the site address changes, click Check now.
An expired license keeps the plugin working, but without updates and support. Remove key switches the plugin off on this site; the domain slot is freed only in your vibefox.net account. If the license server cannot be reached, the plugin keeps working on the last known status. When the plugin is deleted, the key and its status are always removed.
Troubleshooting
The plugin menu shows only Settings: the license key is not active. Open VF Delivery Date > Settings > License and click Activate (or Check now if a key is already entered); the messages under the field are explained in License key.
No date is shown: check Enable delivery dates and the switches in Display. Virtual and downloadable products show no date unless Show for virtual products / Show for downloadable products is on. Check that Disable delivery date is not ticked for the product.
The date is one day off: check Time zone and the site time zone in Settings > General, the Cut-off time, the working days and the holidays. Use Delivery date preview with the exact order time to see how the date is calculated.
The date ignores the shipping method: enter Min days and Max days for the method in Shipping methods and click Save shipping days. Empty values use the global Delivery days. Before the visitor enters an address, Zone for visitors without an address is used.
A product does not use its rule: the product's own preparation days take precedence, then the first active rule by priority. Check the rule Values (IDs, taxonomy:slug).
Old dates after a change: caches are cleared automatically. You can also click Clear calculation cache in Uninstall & Clear.
Need details: turn on Enable logging and look at the log viewer in Logging.
Uninstall
Deactivating the plugin keeps all data. To remove it, deactivate and delete it on the Plugins page. Settings, rules, holidays, logs, product fields and the dates saved in orders are removed only if Delete all data on uninstall was on. Otherwise they stay for a later re-install. The key and its status are always removed with the plugin; the domain slot is freed only in your vibefox.net account.
