Description
WordPress Posts & WooCommerce Products Limited Access / Scheduling (WPPS), a plugin that allows the administrator to schedule or restrict the access of posts, custom post (such as wordpress posts, bbpress or other custom 3rd-party posts), and visibility for the product by using “date rules” or user roles. You can configure WooCommerce products as “Unpurchasable”. This means that they are visible but cannot be added into the cart.
How it works
The site administrator can easily access the Scheduling Rules Configurator when the “Scheduler Voice Menu” is enabled. The shop admin can set scheduling rules for automatically publishing/unpublishing posts, custom posts (such as wordpress pages, bbpress posts or any other custom 3rd party posts) and items through this menu. The shop admin can also prevent certain user roles from gaining access to accounts. You can redirect to a specific page if your posts/pages are limited by the user’s position.
Note: To limit access for unlogged users, you only need to select one role from the User Role Selection section.
Set the product as unpurchaseable
Price Calculator for Calculation does not support this function
Shop managers can use the Unpurchasable option for WooCommerce Products. If you set https visibility to Visible and select the product, it will appear, but the “add-to-cart” button may not work.
The admin of the shop can choose whether to set the product as Unpublished or Purchasable after and before Unpurchasable period.
Optionally, two distinct messages can be displayed on the product and shop pages during the Unpurchasable period.
Note: Make sure that the theme you are using is using the woocommerce-after-single-product, woocommerce-loop-add-to-cart-link and woocommerce-single-product-summary behavior in the shop and single product page correctly (as do the woocommerce referee templates) otherwise the plugin will not hook properly to the theme to remove the add to cart button. These acts are used by every well-designed theme.
Note: If the WooCommerce Scheduler Plugin is active, this function will not work.
RULESS SCHEDULING/RESTRICTIONS ACCESS
The admin of the site can assign multiple scheduling rules to an entire collection of products/posts (by selecting them directly or by using a list of categories). Each scheduling rule has the following options:
Name of Rule/Id
The object type (WordPress product or WooCommerce post)
Select the item(s)
Choose the category or categories
Assignment strategy (it’s possible to assign the rules to selected items/categories, or to all except the selected items).
Categories “Children”. (If a category is selected, the rule may be applied to all its children.
Dates for Scheduling: (Security can be restricted by role and user group)
Dates Scheduling
The Site Administrator will set different scheduling dates (setting day(s), months(s), periods, …)) for each scheduling rule. Different httpses can be assigned (published or not published). Here are two examples of how this can be done:
EXAMPLE 1: ANSWER 1. (WOOCOMMERCE – PRODUCTS).
The administrator of the shop would like a particular product (or products) to be released only between 09:00 and 18:00, and not published during the rest of the day and on the 25th December every single day.
The following rules will be used to schedule the work:
Create a new rule and assign it a name/id
Select type of product “WooCommerce
The item(s) or category collection (ies).
Create a new date rule that:
Published: https://
Select None for Roles of User
Date of the Week as a form of starting date
Select all dates in the week to see the days of the Week:
Select all Months
Hour: 9 o’clock
Minute: 0 to 0
Invert the item(s) https during the unmatched time period: yes
The hour of the end is 17
Last Minute: 59
Create a new date rule that:
Unpublished
Select None for Roles of User
Date of the month as a starting date
Choose 25 Days from the Month
Select ‘December.’
Hour: 9 o’clock
Minute: 0 to 0