Product Time Countdown for WooCommerce

Product Time Countdown for WooCommerce

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.

General Options
Plugin settings are located in “WooCommerce > Settings > Product Time Countdown”.

Template
You can use HTML and/or shortcodes here. %s is replaced by actual time counter.
Default:

%s left

Time format
Ignored if “Human readable format” option below is enabled. Replaced values: {hours}, {minutes}, {seconds}.
Default:

{hours}:{minutes}:{seconds

Human readable format
Will use human_time_diff() function to display time.
Default: no

Style
Time counter CSS styling.
Default:

font-size: xx-large; font-weight: bold;

Update rate
Counter update rate in milliseconds.
Default: 1000

Reload page
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.
Default: None

Position Options
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.
Default: 10

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.
Default: 10

Make non-purchasable
This will make products non-purchasable (i.e. product can’t be added to the cart). However products will still be visible.
Default: yes

Make invisible
This will hide products in shop and search results. However products will still be accessible via direct link.
Default: no

Make completely invisible
This will hide products completely (including direct link).
Default: no

Admin Products List Options

Add column
This will add “Countdown” column to admin products list.
Default: no

Reset Settings

Reset section settings
Check this box and save changes to reset section settings.
Default: no

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.

Example

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;

Purchase