Passer la navigation

[Résolu] Is it possible to make an entire WooCommerce store private with Toolset

This support ticket is created Il y a 3 years, 3 months. There's a good chance that you are reading advice that it now obsolete.

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 -

Fuseau horaire du supporter : Asia/Hong_Kong (GMT+08:00)

Ce sujet contient 4 réponses, a 2 voix.

Dernière mise à jour par andrewH-12 Il y a 3 years, 3 months.

Assisté par: Luo Yang.

Auteur
Publications
#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:
lien caché

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

#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!