| 开发者 | wcblogs87 |
|---|---|
| 更新时间 | 2026年8月16日 19:48 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.0 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
{timer} {dispatch_date} {delivery_from} {delivery_to} {zone} {region}
Override profiles
Schedule a profile for a date range and it applies itself. Bring the cutoff forward for Black Friday, add transit days over Christmas, or pause the countdown while the warehouse is shut for two weeks.
Where it appears
[gernx_shipping_countdown] and [gernx_delivery_estimate].gernxszcw_the_countdown() and gernxszcw_get_countdown().Yes. Shipping zones, carriers and the cart and checkout placements all come from WooCommerce. Settings stay saved if WooCommerce is ever deactivated, and the countdown starts again when it returns.
A Monday to Friday week with a 16:00 cutoff, one to two transit days, five European regions, your base country's public holidays for two years, a Friday urgency line, and one example country override. The countdown appears on the product page, the shop listing, the cart and the checkout straight away. All of it is editable and none of it is reapplied on later updates.
No. The starter content is written once, on first activation, and only when no settings exist yet.
They are already there. Open the Regions tab and adjust the five that were created, or add your own. One region per speed band works best: neighbours next day, the near continent in two, the far edges in three to five, and islands by postcode.
On a closure date nothing is dispatched, so the dispatch date rolls to the next day you ship, and a handling day is never spent on it. With Holidays block delivery switched on, the delivery window steps over the date too. Past dates are harmless and can be cleared with one button.
Handling days are counted in dispatch days, not calendar days. If only one weekday is ticked as a dispatch day, one handling day means a whole week. Tick every day you genuinely ship and every day your carrier genuinely delivers.
WooCommerce ships two versions of those pages. The classic shortcode version fires PHP hooks, so the Placement settings work there. The block version renders in JavaScript and fires none of them. The Placement check panel says which one you use. On a block page, add the Shipping Countdown block instead.
Yes. Leave cache safe mode on and cache as aggressively as you like. The markup carries a deadline stamp and a no-store REST call corrects it once the page loads. Do not cache /wp-json/gernxszcw/v1/schedule itself.
Check Settings → General in WordPress. Every calculation follows the site timezone. Pick a named city rather than a fixed UTC offset, otherwise daylight saving will not apply.
Yes. On the Zones & carriers tab, switch on a zone and tick the specific shipping method. Give it its own cutoff, handling days and transit range. It takes over once the customer selects that method.
No. Public holidays are calculated locally, including Easter and everything derived from it. Regional detection is optional and uses WooCommerce's own bundled geolocation database.
Uninstalling removes the plugin's settings, its impression table and its cached data. Product and category handling days are left in place, so nothing is lost if you reinstall.