Groups to restrict Woo Products display
So far groups is working well.
My only issue is that Groups is correctly hiding the products in my Woocommerce Shop page, BUT for it does not change the query, the counters and categories displayed in the sidebar are those of the full unfiltered query. So the user will see information that is not permitted.
Can I put some code somewhere in a woo templates (in the archive-product.php maybe?) to filter the query with groups permissions.
Thanks for your help,
- The topic ‘Groups to restrict Woo Products display’ is closed to new replies.