Skip Navigation

[Resolved] Is it possible to make an entire WooCommerce store private with Toolset

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 4 replies, has 2 voices.

Last updated by andrewH-12 1 year, 11 months ago.

Assisted by: Luo Yang.

Author
Posts
#2555789

Hi there,

Would it is possible to make an entire WooCommerce store private using Toolset... making WooCommerce products only available to approved members who have submitted some bespoke details?

#2556311

Hello,

You can use Toolset Access plugin to control the access to Woocommerce post type "Products", see below test site.
Login URL:
hidden link

Dashboard-> Toolset-> Access control-> Post types:
hidden link
in section "Products", disable option for user role "guest", so only logged in user can see the product posts in frontend, for example:
hidden link

#2559309

OK... so I imagine I would need to make all the other WooCommerce pages also only available to logged in users; so that would include the cart, basket, shop and product categories. Rather than giving the logged out user a 404 would be be possible to redirect them to another page, such as a registration page?

#2559837

Yes, you can follow our document to setup a content template and display When Read Access is Denied:
https://toolset.com/course-lesson/setting-access-control/#choosing-what-to-display-when-read-access-is-denied
section "Choosing what to Display When Read Access is Denied"

#2559977

Super, that'll do the trick. Thanks!