
The WordPress Posts & WooCommerce Merchandise Limit Entry / Scheduler (WPPS) plugin is a strong software by which the Website admin can schedule or limit entry to posts, customized posts (like WordPress pages, bbpress posts, or some other third occasion customized posts ), and product visibility by “date guidelines” and for person roles.
WooCommerce merchandise will also be set as “Unpurchasable” (seen however can’t be added to the cart).
LIVE DEMO
https://www.codecanyondemo.work/wpps/wp-admin
(Store admin person position)
person: demo
move: demo
(Buyer position)
person: demo2
move: demo
HOW IT WORKS
It’s very simple, as soon as put in and activated, the location admin will discover a new “Scheduler” menu voice on the principle menu by which he can entry the Scheduling guidelines configurator.
With this menu, the store admin can arrange scheduling guidelines to robotically publish/unpublish posts, customized posts (like WordPress pages, bbpress posts, or some other third occasion customized posts), and merchandise. He may merely limit entry to contents
by person roles. In case you might be limiting posts/pages by person position, you can too select to redirect to a web page.
NOTE: To limit entry to not logged customers you’ve got simply to pick no less than one position within the person position choice part.
SET PRODUCT AS UNPURCHASABLE
Function not suitable with Measurement Worth Calculator
Store admin, for WooCommerce merchandise, can use the particular Unpurchasable possibility. Enabling this and setting visibility standing to Seen the chosen product might be seen
however can’t be added to the cart by the purchasers (or those belonging to the roles chosen on the roles restriction possibility space) as a result of “add to cart” button removing.
After and earlier than the Unpurchasable interval the store admin can select if the product must be set as Purchasable or Unpublished.
In the course of the Unpurchasable interval could be additionally optionally displayed two completely different messages on product and store pages.
Observe: Ensure that the theme you might be utilizing is appropriately utilizing the woocommerce_after_single_product,
woocommerce_loop_add_to_cart_link and woocommerce_single_product_summary actions within the store and single product
web page (because the woocommerce reference templates do) in any other case the plugin can not hook correctly to the theme to take away the add to cart button. All well-designed themes appropriately use these actions.
Observe: In case the WooCommerce Availability Scheduler plugin is energetic, the unpurchasable function gained’t work.
SCHEDULING/RESTRICT ACCESS RULES
The positioning admin can assign to a set of posts/merchandise (straight choosing them or a set of classes) a number of scheduling rule. Every scheduling rule has the next possibility:
- Rule identify/id
- Merchandise sort (WordPress put up or WooCommerce product)
- Merchandise(s) choice
- Class(es) choice
- Project technique (the rule could be assigned to the chosen gadgets/classes or to all gadgets besides those chosen)
- “Kids” classes (if a class was chosen, that rule could be assigned additionally to its kids)
- Scheduling dates (for each scheduled time interval can also be potential to limit visibility by person roles)
Scheduling dates
For every scheduling rule, the location admin can create completely different scheduling dates (configuring day(s), month(s), hour, …) for every of which completely different statuses (printed or unpublished) could be assigned.
Right here two examples of what could be achieved:
Instance 1 (WooCommerce Merchandise)
The store admin want to make a product(s) to be printed every single day of the 12 months solely between 09:00 to 18:00 and unpublished within the remaining hours and on twenty fifth December.
The Scheduling guidelines might be configured as follows:
- Create a brand new rule and assign a reputation/id
- Choose “WooCommerce product” merchandise sort
- Choose an merchandise(s) and/or class(ies)
- Create a brand new date rule the place:
- https: Revealed
- Person roles: Go away unselected
- Begin date sort: Day of the week
- Days of the week: Choose all
- Months: Choose all
- Hour: 9
- Minute: 0
- Invert merchandise(s) HTTPS throughout unmatched time interval: sure
- Finish hour: 17
- Finish minute: 59
- Create a brand new date rule the place:
- https: Unpublished
- Person roles: Go away unselected
- Begin date sort: Day of the month
- Days of the month: Choose 25
- Months: Choose “December”
- Hour: 9
- Minute: 0
Instance 2 (WordPress Posts)
The positioning admin want to make a put up accessible solely on the even days of the week and unavailable on the remaining days.
The Scheduling guidelines might be configured as follows:
Instance 3 (Limit pages entry to non-logged customers)
The positioning admin want to limit entry to some pages for not logged customers, for instance, the Store, cart, and checkout pages. Right here is :
- Create a brand new rule and assign a reputation/id
- Choose the “Customized posts” merchandise sort and the choose “Store”, “Cart, and “Checkout” pages.
- Create a brand new date rule the place:
- https: Revealed
- Person roles: Choose all
- Day date sort: Day of the week
- Days of the week: Choose all
- Months: Choose all
- Hour: 0
- Minute: 0
- Create a brand new date rule the place:
- https: Revealed
- Person roles: Choose all
- Begin date sort: Day of the week
- Days of the week: Choose all
- Months: Choose all
- Hour: 23
- Minute: 59
POSTS/PRODUCTS LIST PAGE
One other helpful function added by the WPPS plugin is a brand new column named “Scheduling rule(s)” On the WordPress Posts and WooCommerce Merchandise record web page. On this approach, the location admin can at all times know
if a scheduling rule has been assigned to at least one (or extra) put up(s)/product(s)
SCREENSHOTS
Scheduling date: day choice (days of the week possibility chosen)
Scheduling date: day choice (days of the month possibility chosen)
Scheduling rule(s) on posts/merchandise record web page
CHANGE LOG
= 5.6 - 18.07.24 = * Inner libraries replace = 5.5 - 19.07.23 = * Improved compatibility with Flatsome Theme = 5.4 - 02.04.21 = * Minor enhancements = 5.3 - 30.11.19 = * Within the product/put up selector now additionally it is reported the ID = 5.2 - 25.11.19 = * Typo = 5.1 - 24.11.19 = * Inner library replace = 5.0 - 28.03.19 = * Fastened a problem associated to improper precedence computation = 4.9 - 27.03.19 = * Fastened a problem as a result of scheduler not correctly making use of the "invert publish standing" function = 4.8 - 07.12.18 = * Minor bugfix associated to WP 5.0 = 4.7 - 30.10.18 = * Fastened a problem with add to cart button = 4.6 - 29.10.18 = * Minor bugfix = 4.5 - 06.09.18 = * Minor bugfix = 4.4 - 07.05.18 = * Fastened a problem resulting from scheduling guidelines the place utilized 1 minute after the beginning time = 4.3 - 23.02.18 = * Minor bugfix = 4.2 - 28.07.17 = * Minor bugfix = 4.1 - 01.06.17 = * Minor bugfix = 4.0 - 30.05.17 = * Fastened a problem that in some instances might stop the "add new rule" button from correctly work = 3.9 - 15.05.17 = * Fastened a problem with composite merchandise = 3.8 - 17.04.17 = * Fastened an incompatibility with Avada * Fastened a problem with composite merchandise = 3.7 - 07.04.17 = * Improved compatibility with WooCommerce 3.0.1 = 3.6 - 04.03.17 = * Problem resulting from printed date for the scheduled product was at all times the right this moment date = 3.5 - 21.02.17 = * Added assist to imminent WooCommerce 2.7 = 3.4 - 30.01.17 = * Added possibility to point out messages in the course of the unpurchasable durations on product and store pages * Fastened a problem that stops the "besides the one chosen" possibility from correctly work = 3.3 - 25.01.17 = * Fastened a problem with the purchasable/unpurchasable function = 3.2 - 22.12.16 = * Bugfix = 3.1 - 05.12.16 = * On merchandise publishing, its publish date is up to date in keeping with the scheduling rule begin time = 3.0 - 01.12.16 = * Added a brand new function to schedule posts in keeping with the week of the 12 months = 2.9 - 30.11.16 = * Fastened a problem which will increase an error on frontend when WooCommerce was not put in = 2.8 - 11.11.16 = * Minor bugfix = 2.7 - 03.10.16 = * Added choice to redirect to a web page in case of person position restriction = 2.6 - 24.09.16 = * Minor bugfix = 2.5 - 17.08.16 = * Minor bugfix = 2.4 - 16.08.16 = * Added function to set scheduling date ranging from publish date = 2.3 - 27.07.16 = * Minor bugfix = 2.2 - 24.04.16 = * Minor bugfix = 2.1 - 15.06.16 = * Added assist to customized posts = 2.0 - 23.04.16 = * Minor bugfix = 1.9 - 14.04.16 = * Minor bugfix = 1.8 - 23/03/16 = * Minor bugfix = 1.7 - 22/03/16 = * Added new function to make WooCommerce merchandise as unpurchasable = 1.6 - 11/03/16 = * Minor bugfix = 1.5 - 20/02/16 = * Fastened a problem that might trigger some Warnings messages = 1.4 - 16/02/16 = * Added new function: is now potential limit put up visibility utilizing person roles = 1.3 - 02/02/16 = * Bugfix = 1.2 - 15/01/16 = * Bugfix = 1.1 - 13/01/16 = * Bugfix = 1.0 - 12/01/16 = * Launch