Change WordPress user roles and capabilities › Forums › Restrict or Permit access inside WordPress – how to › Restrict access to woocommerce product category not working, how to debug? › Reply To: Restrict access to woocommerce product category not working, how to debug?
16/12/2021 at 02:55
#7784
Vladimir
Keymaster
In order to exclude product from listings, you have to select action “404 HTTP error”. Content view restrictions protects directly only post/page content or full description for the products. It does not prohibit to theme or plugin to show any other product attributes, like price, image, etc. until you select the “404” or “redirect” action.
Take into account that you can set view restrictions directly for the product category.