Plugin lets you add live time counter to any WooCommerce product. You can choose which product action should be executed automatically after time ends:
- product set to disabled (i.e. non-purchasable and/or hidden), or
- product sale cancelled, or
- product stock set to sold out, or
- no action is taken.
Plugin settings are located in “WooCommerce > Settings > Product Time Countdown”.
You can use HTML and/or shortcodes here. %s is replaced by actual time counter.
Ignored if “Human readable format” option below is enabled. Replaced values:
Human readable format
human_time_diff() function to display time.
Time counter CSS styling.
font-size: xx-large; font-weight: bold;
Counter update rate in milliseconds.
If enabled will reload page on time finished. Possible values: Reload; Reload on single product pages only; Do not reload.
Default: Do not reload
Message on time finished
Message will be visible on time finished on frontend instead of time counter. Can be empty.
You can also use
[product_time_counter] shortcode to display the counter.
Position on single product page
Possible values: Do not add; Before single product; Before single product summary; Inside single product summary; After single product summary; After single product; Before add to cart form; Before add to cart button; After add to cart button; After add to cart form.
Default: Inside single product summary
Position priority (Single product page)
Change this if you want to move the timer inside the position on single product page. Existing priorities: Before single product: notices – 10. Before single product summary: sale flash – 10, product images – 20. Inside single product summary: title – 5, rating – 10, price – 10, excerpt – 20, add to cart – 30, meta – 40, sharing – 50. After single product summary: product data tabs – 10, upsell – 15, related products – 20.
Position on archive (shop) pages
Possible values: Do not add; Before product; Before product title; Inside product title; After product title; After product.
Default: Do not add
Position priority (Archive pages)
Change this if you want to move the timer inside the Position.
This will make products non-purchasable (i.e. product can’t be added to the cart). However products will still be visible.
This will hide products in shop and search results. However products will still be accessible via direct link.
Make completely invisible
This will hide products completely (including direct link).
Admin Products List Options
This will add “Countdown” column to admin products list.
Reset section settings
Check this box and save changes to reset section settings.
Per Product Settings
After reviewing the general options, as described above, please visit some product’s admin edit page. There (i.e. for each product separately) in “Product Time Countdown” meta box you will be able to:
- Enable/disable the counter.
- Set date and time.
- Set action on time end: Do nothing; Disable product; Cancel sale; Make sold out.
Screenshot below demonstrates how would time counter look on frontend (single product page), if you would set Template option to:
Sale ends in %s
and Style option to:
font-size: large; color: white; background-color: #ff9800; padding: 15px;