Code

WooCommerce Availability Scheduler

WooCommerce Availability Scheduler

Cart 828 sales

The WCAS allows you to manage the availability of all your products, scheduling them throughout the day of the week
You will have the flexibility to choose for every day of the week (Monday to Sunday) one time range when your products will be available to your customers for purchasing, automatically hiding/showing the “add to cart button” (and optionally the product) on shop and product pages, showing a custom message and a countdown timer.
Furthermore, product daily availability can be also limited by total sale per each day.

LIVE DEMO

https://www.codecanyondemo.work/wcas/wp-admin/
Shop admin role
user: demo
pass: demo

Customer role
user: demo2
pass: demo2

How to automatically update the plugin

To receive automatic updates just install and configure the Envato updater plugin: https://goo.gl/pkJS33 .The official guide that explains how to configure it can be found in the following link: https://envato.com/market-plugin .

Custom Messages and Shortcodes

WCAS plugin lets you display custom messages both on shop page and product page.
Let your customers know why product are unavailable for purchasing and when they will be using [start_time] and [end_time] shortcodes directly in custom messages.

User roles

WCAS gives also the option to restrict products purchase availability using users roles. In this way, the shop admin for a particular day of the week (Monday to Sunday) can set a particular time range and restrict the purchasing capability to only a set of users.

Countdown timers

WCAS plugin gives you the option to display countdown timers that let your customers know how much time misses to start purchasing time, to the end purchasing time or to the expiration date and time.

Expiring date time

By WCAS plugin you can set an expiring date time for every product. After this date-time the product will be automatically hidden and unavailable for purchasing (is set as ‘draft’). Optionally the product can be still set as visible (but it will be unpurchasable).

You can also display a countdown timer to the expiration date and messages (both on the shop and/or product pages) to be shown before and after the expiration date.

Completely hide products during unavailability period

WCAS can automatically hide products during the “unavailable” period (set as ‘draft’) and make them visible only during the “available” period.

Day Unavailability by day total sales

The WCAS gives also the option to limit the product available for each day setting a max value of total sales past which the product will be unavailable for purchase (or hidden, according to the Hide product during unavailability option).
The shop admin can also display a nice progress bar which displays the current sales progress per day. Bar colors can be customized in the options menu.

Global shortcodes

WAS plugin exposes some shortcode to be used in the product description, pages, etc. Here the list:
  1. [was_expiring_datetime]: prints the expiring datetime of the current product, optionally can be used as parameter “id” and/or “format” to print a expiring date and time of a specific product formatting date using a specific format. For example:
    [was_expiring_datetime id=”12” format=”d/M/Y”]: Will print the expiring date and time of product with id 12, printing only day, month name and year, for exampe: “27/Nov/2015”
  2. [was_start_time]: prints the start time of current day for the current product. Optionally can be user the “id” parameter. For example: [was_start_time id=”12”]
  3. [was_end_time]: prints the end time of current day for the current product. Optionally can be user the “id” parameter. For example: [was_end_time id=”12”]

Bulk edit availabilities

Under the WooCommerce menu voice, shop admin will find a special voice “Bulk availability scheduler” by which he can easily bulk edit products availabilities.

Simple and variable products

WCAS plugin allows you to set availability for both simple and variable products. It however doesn’t support specific variations, so in case of variable products the availablity will be setted to the master product and not for a specific variation(s) of its.

WPML

to translate product availability messages procede as follow:
  1. Edit the product and in the Multilingual Content Setup meta box click on the Show system fields: https://www.codecanyondemo.work/images/WAS/wpml/step_1.jpg
  2. Look for the following strings: https://www.codecanyondemo.work/images/WAS/wpml/step_2.jpg and click on the Translate option
  3. Then edit the translated product. In the bottom you will find a new meta boxes that allows you to translate product availability messages: https://www.codecanyondemo.work/images/WAS/wpml/step_3.jpg

Compability note

Make sure that the theme you are using is correctly using the woocommerce_after_single_product, woocommerce_loop_add_to_cart_link and woocommerce_single_product_summary actions in the shop and single product page (as the woocommerce referece templates do) otherwise the plugin cannot hook properly to the the theme to remove the add to cart button, add the messages and countdown timers. All well designed theme correctly use these actions.

The plugin hasn’t any support for any plugin that customizes shop or product pages. Make sure you are using the standard product and shop templates.

Known Uncompability

The Measurement Price Calculator plugin interferes with W.A.S causing the “add to cart” buttons on shop and product pages to be double rendered. So if you have in mind to use W.A.S plugin please deactive the Measurement Price Calculator plugin before using.


...Would you like to automatically publish/unpublish products during custom and multiple time periods? restrict per user roles? Try my new plugin!

Try the Wordpress Posts & WooCommerce Products Scheduler plugin. You can easily configure multiple and recurring time ranges during which your products will be automatically published/unpublished! Every product can have multiple scheduling periods based also on user roles!



Screenshots







Total sales progress bar on Shop page
Total sales progress bar on Product page
Timer

Admin Panel

CHANGE LOG


= 12.4 - 10.03.23 =
* Minor bugfix

= 12.3 - 29.06.22 =
* Is it now possible to set a "starting date" after which the product will be available for purchase

= 12.2 - 29.06.22 =
* Templates can now be copied under the {your_theme_folder}/wcas/ folder

= 12.1 - 19.04.22 =
* The plugin now automatically synchronizes with the configured wordpress timezone

= 12.0 - 26.01.22 =
* Fixed a javascript issue related to the product page

= 11.9 - 20.11.21 =
* Fixed an issue related to the "reset" option

= 11.8 - 11.10.21 =
* Minor improvements

= 11.7 - 17.07.21 =
* Minor improvements

= 11.6 - 06.07.21 =
* Fixed an issue with Elementor

= 11.5 - 06.07.21 =
* Fixed an issue with Elementor

= 11.4 - 24.06.21 =
* Fixed an issue related to the "reset" feature

= 11.3 - 07.06.21 =
* Fixed an issue related to the countdown timer

= 11.2 - 03.06.21 =
* bugfix

= 11.1 - 26.05.21 =
* bugfix

= 11.0 - 26.05.21 =
* bugfix

= 10.9 - 26.05.21 =
* Code redesign

= 10.8 - 07.11.20 =
* Minor improvements

= 10.7 - 07.09.20 =
* Fixed an issue related to WordPress 5.5 and jQuery

= 10.6 - 14.08.20 =
* Fixed an issue related to WordPress 5.5 and jQuery

= 10.5 - 31.01.20 =
* Minor bugfix

= 10.4 - 28.01.20 =
* Minor bugfix

= 10.3 - 28.01.20 =
* Minor bugfix

= 10.2 - 24.01.20 =
* Minor bugfix

= 10.1 - 24.01.20 =
* Improved datetime selector

= 10.0 - 26.09.19 =
* Fixed an issue related to the Polylang plugin

= 9.9 - 26.09.19 =
* Minor bugfix

= 9.8 - 26.09.19 =
* Fixed an issue due to "Administrator" role was not properly displayed among role restriction list

= 9.7 - 28.06.19 =
* Minor JS improvement

= 9.6 - 28.06.19 =
* Fixed an incompatibility with WooCommerce Subscription plugin

= 9.5 - 23.06.19 =
* Fixed an incompatibility with WooCommerce Subscription plugin

= 9.4 - 03.06.19 =
* Minor bugfix

= 9.3 - 23.05.19 =
* Fixed an incompatibility with WooCommerce Bookings plugin

= 9.2 - 21.05.19 =
* Minor improvement

= 9.1 - 14.05.19 =
* Fixed an issue due to expiring message and expiration countdown timer were not displayed together

= 9.0 - 05.04.19 =
* Minor bugfix

= 8.9 - 18.12.18 =
* Fixed an issue with WooCommerce Ultimate Gift Card

= 8.8 - 13.10.18 =
* Added new activation system: now the plugin can be only activated in two domains and they cannot be unregistered

= 8.7 = 28.10.18
* Fixed an issue with the hide option using the bulk editor

= 8.6 = 27.10.18
* Fixed an issue in the Bulk editor

= 8.5 = 03.10.18
* Typo

= 8.4 = 17.08.18
* Fixed an issue related to the WooCommerce Product Bundle plugin

= 8.3 = 11.08.18
* Fixed an issue related to the Woo Product Bundle plugin

= 8.2 = 01.08.18
* Minor bugfix

= 8.1 = 12.06.18
* Improved UI
* Added option to select time format for the end and start to time shortcodes

= 8.0 = 05.04.18
* Fixed an issue that may generate some warning message while accessing some data structures

= 7.9 = 11.03.18
* Fixed an interference by WooCommerce One Page Checkout that may cause the admin post and pages list page to be not properly showed 

= 7.8 = 06.03.18
* Minor bugfix

= 7.7 = 05.03.18
* Fixed an issue with WooCommerce Booking

= 7.6 = 13.01.17
* Fixed an issue due to in variable product page where not displayed the variation selector

= 7.5 = 12.01.17
* Fixed an issue due to during availability period, messages were displayed twice

= 7.4 = 26.12.17
* Minor bugfix

= 7.3 = 07.11.17
* Fixed an issue due to a draft product where published even if the "hide during the unavailability period" option was not checked

= 7.2 = 23.10.17
* Minor bugfix

= 7.1 = 28.09.17
* Improved performance

= 7.0 = 24.09.17
* Added new option to display countdown timer to expiration date
* Optimized SQL queries
* Small CSS improvement

= 6.9 = 24.08.17
* Added option assign settings assigned to a day to the selected days

= 6.8 = 28.07.17
* Minor bugfix

= 6.7 = 22.06.17
* Fixed an issue with category pages

= 6.6 = 14.05.17
* Minor bugfix

= 6.5 = 25.04.17
* Fixed an issue that prevented the "add to cart" button to be properly showed in the Product page

= 6.4 = 05.04.17
* Improved "add to cart" removal managment

= 6.3 = 05.04.17
* Fixed a minor issue with WooCommerce 3.0

= 6.2 = 28.03.17
* Improved Shop page "add to cart" button removal function
* Fixed a bug that prevented the sales progress bar to be properly displayed

= 6.1 = 22.02.17
* Fixed an issue with the Expiring product feature, now it is properly working

= 6.0 = 26.01.17
* Added option to display on Shop and Product pages messages after the product expires

= 5.9 = 17.01.17
* Minor bugfix

= 5.8 = 08.12.16
* Minor UI improvement

= 5.7 = 27.11.16
* Minor bugfix. The prevented issue that could cause plugin crash

= 5.6 = 27.09.16
* Minor bugfix

= 5.5 = 16.09.16 
* Added option for expired products to be still visible after expiration

= 5.4 = 24.08.16 
* Fixed an issue that prevents sales limit feature to properly work

= 5.3 = 20.08.16 
* Added button in settings menu to reset products availability 

= 5.2 = 20.08.16 
* Fixed an issue that could prevent the timer on shop and product pages to be properly displayed

= 5.1 = 19.08.16 
* Improved timer style

= 5.0 = 18.08.16 
* Minor bugfix 

= 4.9 = 08.08.16 
* Fixed an issue that prevents the countdown timer to be shown in the shop page

= 4.8 = 04.08.16 
* Fixed an issue that prevented the countdown timer to be properly rendered in the product page

= 4.7 = 22.07.16 
* Minor bugfix

= 4.6 = 21.07.16 
* Bugfix: in some installations the datetime picker was not properly loaded

= 4.5 = 27.06.16 
* Minor bugfix

= 4.4 = 06.05.16 
* Bugfix: wpml

= 4.3 = 04.05.16 
* Fixed an issue that prevented product to expire setting expiring date
* Fixed an issue that allows the customer to purchase expired products 

= 4.2 - 02.05.16 =
* bugfix 

= 4.1 - 30.04.16 =
* Improved functions that manages the "unhiding" of products

= 4.0 - 29.04.16 =
* Bugfix: The hide option now correctly hides the product in case of "Unavailability" time period strategy

= 3.9 - 28.04.16 =
* Added new feature to limit product availability by day total sales

= 3.8 - 29.03.16 =
* Minor bugfix

= 3.7 - 23.03.16 =
* Minor bugfix: it could happen that time offset on options menu was not saved
* Expiring/hide function could happen that didn't work as expected. If experiencing this issue, update the plugin to this version and
resave products where expire/hide feature didn't work

= 3.6 - 21.03.16 =
* Bugfix on removing product "hide" option. It was not saved.

= 3.5 - 21.02.16 =
* Bugfix on role restriction

= 3.4 - 16.02.16 =
* Small bugfix

= 3.3 - 12.02.16 =
* Bugfix

= 3.2 - 10.02.16 =
* Added availability per user role

= 3.1 - 26.01.16 =
* Added new option to make a product unavailable only for the selected time range

= 3.0 - 25.01.16 =
* Added "Clear" button to clear expiration date

= 2.9 - 09.12.15 =
* Added "Clear" button to clear expiration date

= 2.8 - 28.11.15 =
* UI Bugfix

= 2.7 - 26.11.15 =
* Bugfix

= 2.6 - 18.11.15 =
* Tabs restyling

= 2.5 - 12.11.15 =
* httpss bugfix

= 2.4 - 09.11.15 =
* Global shortcodes

= 2.3 - 30.10.15 =
* jQuery bugfix

= 2.2 - 30.09.15 =
* bugfix

= 2.1 - 23.09.15 =
* bugfix

= 2.0 =
* bugfix

= 1.9 =
* Added "hide product" option: is now possible to completely hide a product (is set as a draft)
during the unavailability period.

= 1.8 =
* Bugfix

= 1.7 =
* Bugfix

= 1.6 =
* Added new time offset option to synchronize server time with own time.

= 1.5 =
* Bulk edit

= 1.4 = 
* Product expiring date time: is now possible to automatically unpublish a product after a date

= 1.3 = 
* bugfix, improved timers and added new messages box

= 1.2 = 
* bugfix

= 1.1 =
* Improved Admin UI layout
* Addedcountdown timers

= 1.0 =
* Release

by
by
by
by
by
by

Tell us what you think!

We'd like to ask you a few questions to help improve CodeCanyon.

Sure, take me to the survey