Product Time Countdown for WooCommerce

Rated 3.33 out of 5 based on 3 customer ratings
(3 customer reviews)

Live product time countdown for WooCommerce.


Author: Tom Anbinder SKU: N/A Category: Tags: , Version: 1.4.1; Last updated: 2 months ago; Requires WordPress version: 4.4; Tested up to: 5.0


This plugin is a premium version of free "Product Time Countdown for WooCommerce" plugin.

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”.

Product Time Countdown for WooCommerce - Admin Settings - General Options

You can use HTML and/or shortcodes here. %s is replaced by actual time counter.
%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
Time counter CSS styling.
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.

Product Time Countdown for WooCommerce - Admin Settings - Position Options

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

"Disable product" Action Options

Product Time Countdown for WooCommerce - Admin Settings - Disable product Action Options

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

Product Time Countdown for WooCommerce - Admin Settings - Admin Products List Options

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

Reset Settings

Product Time Countdown for WooCommerce - Admin Settings - Reset Settings Options

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.

Product Time Countdown for WooCommerce - Admin Settings - Product Meta Box


Screenshot below demonstrates how would time counter look on frontend (single product page), if you would set Template option to:

Sale ends in <strong>%s</strong>

and Style option to:

font-size: large; color: white; background-color: #ff9800; padding: 15px;

Product Time Countdown for WooCommerce - Frontend View

Free vs Pro

Free Version Pro Version
General: Template yes yes
General: Time format yes yes
General: Human readable format yes yes
General: Style yes yes
General: Update rate yes yes
General: Reload page yes yes
General: Message on time finished yes yes
Position: Single product page default position only yes
Position: Archive (shop) pages no yes
[product_time_counter] shortcode no yes
“Disable product” Action: Make non-purchasable yes yes
“Disable product” Action: Make invisible no yes
“Disable product” Action: Make completely invisible no yes
Admin Products List: Add column yes yes
Per product action: Do nothing yes yes
Per product action: Disable product yes yes
Per product action: Cancel sale no yes
Per product action: Make sold out no yes

Prices & Licenses

Single siteUnlimited sites
1 year $19.99 $9.99 / year $49.99 $19.99 / year
Lifetime $49.99 $19.99 $99.99 $29.99


We want to ensure that you are 100% happy with your purchase, so if you feel the product(s) you purchased are not the best fit for your requirements and you attempted to resolve issues with product's author, we are offering 30 day money back guarantee refund policy.

3 reviews for Product Time Countdown for WooCommerce

  1. Rated 1 out of 5


    where is a sample view! won’t buy unless I can see what it looks like

    • Tom Anbinder (product author)

      I’ve just updated the plugin description and added frontend view screenshot there. Also – probably best way to see how it looks on frontend is to try the free version.

      Hope that helps.

  2. Rated 4 out of 5

    Almartino L Diesta (verified owner)

    The plugin is causing slowness and error connection on my webstore on the server. Any chances of fixing or knowing why. Thanks.

    • Tom Anbinder (product author)


      Maybe you can create/share an admin account to your server (WP and preferably FTP), so I could login and check what’s going on. If that’s possible – my private email is

  3. Rated 5 out of 5


    Great plugin, easy to use.

Add a review

9 thoughts on "Product Time Countdown for WooCommerce"

  1. Joseph August 1, 2017 at 3:29 am #

    Hi, What is the difference between the FREE and Premium plugin?


    • Tom Anbinder October 11, 2017 at 4:18 pm #


      We’ve added “Free vs Pro” comparison table at the end of the description page.

      Best regards,

  2. Marcos April 6, 2018 at 2:16 am #

    Please add the ability to move the product to trash or draft automatically under “Disable product Action Options”, this will give us a more control to automatically “expire” a temporary product offer.


  3. Andre Smetana April 12, 2018 at 5:53 am #


    I have bought a Premium plugin but It doesn’t work on my website

    I put a shortcode to a field Closes and it doesn’t show anything.

    Could you help me to solve this issue?



    • Andre Smetana April 12, 2018 at 8:07 am #

      I fixed this issue.

      Thank you for the great plugin!

  4. mdbrna August 30, 2018 at 9:03 pm #
     *  time format add days, hours*, minutes, seconds 
    function get_time_left_formatted( $product_id ) {
    	if ( ( $result = $this->get_time_left( $product_id ) ) <= 0 ) {
    		return '';
    	} else {
    		if ( 'no' === get_option( 'alg_wc_product_countdown_format_human_time_diff', 'no' ) ) {
    			$days	  = floor ($result/(1 * 60 * 60 * 24));
    			$hours    = floor( $result %  (100 * 60 * 60 * 24) / (100 * 60 * 60) );
    			$minutes  = floor( ( $result / 60 ) % 60 );
    			$seconds  = $result % 60;
    			$the_time = sprintf( '%02d:%02d:%02d:%02d', $days, $hours, $minutes, $seconds );
    		} else {
    			$the_time = human_time_diff( 0, $result );
    		return sprintf( get_option( 'alg_wc_product_countdown_format', '%s left' ), $the_time );


    • Tom Anbinder February 10, 2019 at 4:54 pm #


      If anyone else has a similar task of changing upper limit for the displayed time (i.e. need to display e.g.: 6 days 23 hours 40 minutes 30 seconds instead of 167 hours 40 minutes 30 seconds) – in plugin v1.4.1 we’ve added new Upper limit option to “WooCommerce > Settings > Product Time Countdown > General Options > Time format”. Option’s possible values are: “Weeks”, “Days”, “Hours” (default), “Minutes” and “Seconds”.

  5. fabio October 10, 2018 at 10:15 am #

    it is possible to notify by email the end of the countdown, to the users who have purchased the product?


    • Tom Anbinder October 11, 2018 at 11:12 pm #

      Hi Fabio,

      Sorry for the late reply. Not possible at the moment, but I could probably add this in next plugin release. Just to be sure – on the end of countdown you want the plugin to scan all orders, find all customers who purchased current product and then send them an email? Maybe you could give me an example of that email? Just to understand how this could be used in real environment.

Leave a Reply


= 1.4.1 - 10/02/2019 =
* Dev - General Options - Time format - "Upper limit" option (also {weeks} and {days} placeholders) added.
* Dev - Serializing value for variation prices hash.

= 1.4.0 - 14/10/2018 =
* Fix - "Disable product" Action - "Make completely invisible" option - Possible pagination issue fixed.
* Dev - Actions - "Cancel sale" action added.
* Dev - Actions - "Make sold out" action added.
* Dev - General Options - "Message on time finished" option added.
* Dev - General Options - "Time format" option added.
* Dev - General Options - "Reload page" option added.
* Dev - General Options - Template - Raw input is now allowed.
* Dev - General Options - Template - Shortcodes are now allowed.
* Dev - General Options - Update rate - Minimum value set to 100.
* Dev - [alg_wc_ptc_translate] shortcode added.
* Dev - Admin settings descriptions updated, restyled, select type display fixed (by adding wc-enhanced-select class).
* Dev - Code refactoring.
* Dev - Plugin URI updated.

= 1.3.0 - 11/10/2017 =
* Dev - "Disable product" Action Options - Settings section added.
* Dev - Admin Products List Options - "Add column" option added.
* Dev - Settings sections array stored as main class property.
* Dev - Admin Settings - Minor fixes, description updates, restyling.

= 1.2.0 - 22/07/2017 =
* Dev - WooCommerce v3 compatibility - Product ID.
* Dev - "Position on Archive Pages" options added.
* Dev - Option to disable counter on single product page added.
* Dev - [product_time_counter] shortcode added.
* Dev - "Update Rate" option added.
* Dev - "Human Readable Format" option added.
* Dev - More positions added to "Position on Single Product Page".
* Dev - Admin settings - Input types changed to date and time (instead of simple text).
* Dev - location.reload() removed from JS (on time ended).
* Dev - "Reset Section Settings" option added.
* Dev - Autoloading plugin options.
* Dev - Plugin renamed from "Product Countdown" to "Product Time Countdown".
* Dev - Link updated from to
* Dev - Plugin header ("Text Domain" etc.) updated.

= 1.1.0 - 14/02/2017 =
* Fix - load_plugin_textdomain moved to constructor.
* Dev - Language (POT) file uploaded.
* Dev - Autoload set to no in add_option.
* Dev - "Position on Single Product Page" and "Position Priority" options added.
* Dev - Tags updated.

= 1.0.0 - 24/11/2016 =
* Initial Release.


  • Buy the plugin 🙂
  • Download plugin's zip to your computer (you will receive an email with download link, or you can always download the plugin from your account).
  • Go to Admin Dashboard > Plugins > Add New > Upload Plugin and browse for downloaded zip file.
  • If plugin is successfully installed - you should see it added to the Plugins list.


To keep WPFactory items up to date, please install WPFactory Helper plugin and enter your site key.