This support ticket is created Il y a 4 années et 6 mois. 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.
Aucun de nos assistants n'est disponible aujourd'hui sur le forum Jeu d'outils. Veuillez créer un ticket, et nous nous le traiterons dès notre prochaine connexion. Merci de votre compréhension.
Tell us what you are trying to do?
Using Toolset Access I want to limit access to the WooCommerce Shop page to logged in users. Currently when I apply a Custom Group to Products and the Shop page:
- Shop page is visible
- Shop page displays a message that no products are available
I want to display a custom message instead or redirect to a custom page.
Is there any documentation that you are following?
Default documentation for setting access to a page.
Is there a similar example that we can see?
See issue https://toolset.com/forums/topic/will-views-respect-read-access/#post-329040
In that topic it states that "...'Access "custom groups' only apply to single posts, and will have no effect in Archives.
We can't apply custom group permissions to Archives, because it's will take too much server resources."
What is the link to your site?
I am currently working locally. Before setting up a test-site, I would like to know if this is possible. Based on the above topic it seems to be a known issue.
Hello Shane, thanks for the update. I prefer to use the default WooCommerce shop pages, as I also need them to be compatible with other plugins like YITH WooCommerce Ajax Product Filter.
I am setting up a B2B shop for a client and need front facing shop pages not be accessible to non-approved customers.
If this is not possible using Toolset I will look into other options like WooCommerce Private Store: lien caché
Next Toolset challenge: setting up forms for customers to subscribe and an option for admins to approve customers.