With W.A.S. plugin you can manage the availability of all your products, scheduling it 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.
Note: The plugin, like WordPress, requires a minimum 5.5 PHP version.
Shop admin role
How to automatically update the pluginTo 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 ShortcodesW.A.S. plugin lets you to 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 rolesW.A.S. gives aslo 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 restric the purchasing capability to only a set of users.
Countdown timersW.A.S. plugin gives you the option to display countdown timers that lets 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 timeBy W.A.S. 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 setted as ‘draft’). Optionally the product can be still setted as visbile (but it will be unpurchasable).
You can also display a countdown timer to the expiration date and messages (both on shop and/or product pages) to be showed before and after the expiration date.
Completely hide products during unavailability periodW.A.S. can automatically hide products during “unavailable” period (setted as ‘draft’) and make them visible only during the “available” period.
Day Unavailability by day total salesThe W.A.S. gives also the option to limit the product availability for each day setting a max value of total sales past which the product will be unavaialable 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 progres per day. Bar colors can be customized in the options menu.
Global shortcodesWAS plugin exposes some shortcode to be used in product description, pages, etc. Here the list:
[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”
- [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”]
- [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 availabilitiesUnder the WooCommerce menu voice, shop admin will find a special voice “Bulk availability scheduler” by which he can easily bulk edit products availabilities.
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.
Simple and variable productsW.A.S. 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.
WPMLto translate product availability messages procede as follow:
- Edit the product and in the Multilingual Content Setup meta box click on the Show system fields: http://www.codecanyon.eu/images/WAS/wpml/step_1.jpg
- Look for the following strings: http://www.codecanyon.eu/images/WAS/wpml/step_2.jpg and click on the Translate option
- Then edit the translated product. In the bottom you will find a new meta boxes that allows you to translate product availability messages: http://www.codecanyon.eu/images/WAS/wpml/step_3.jpg
Known UncompabilityThe 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!
Total sales progress bar on Shop page
Total sales progress bar on Product page
= 8.1 = 12.06.18 * Improved UI * Added option to select time format for end and start 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 periodo, messages were displayed twice = 7.4 = 26.12.17 * Minor bugfix = 7.3 = 07.11.17 * Fixed an issue due to 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. 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 prevent 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 display = 5.1 = 19.08.16 * Improved timer style = 5.0 = 18.08.16 * Minor bugfix = 4.9 = 08.08.16 * Fixed an issue that prevent the coutdown timer to be showed 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 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 option menu was not saved * Expiring/hide function could happen that didn't work as expeceted. If experiencing this issue, update the plugin to this version and resave products where expire/hide featur 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 = * Https 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 draft) during 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