Support » Plugin: Product Visibility by User Role for WooCommerce » How to use plugin to allow purchase by one user role only

  • Resolved carlcs



    We have a problem which looks like could be solved by this app. We have a product that we want to only allow purchase by a user in a particular user role. I tried ticking the “Make non-purchasable” option in Woocommerce -> Settings -> Product Visibility and adding the user role in a product’s “Visible” or “Invisible” meta data section does not allow the user role to purchase the product

    How do i set this up exactly?


Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi @carlcs,

    Sorry for a late reply.

    You need to add that only user role that is allowed to buy the product to “Visible” option in meta box (“Invisible” option should be left empty in this case). “Make non-purchasable” option will hide “add to cart” button for all other user roles (i.e. except that user role that was added to “Visible” meta box option). If you want to hide product completely (i.e. not only hide the “add to cart” button), you should check “Modify query” checkbox.

    Hope that helps. Please let me know if you have any questions.

    Thread Starter carlcs


    Oh cool It’s working now with my test user but being blocked for purchase from my other users

    thank you very much

    Hi @carlcs,

    If I understood it correctly – I’m marking the ticket as “resolved”. Please let me know if I misunderstood you and there are still some issues.

    Thread Starter carlcs


    no more issues. thank you

    @carlcs, sure, no problem, happy to help 🙂

    P.S. If you like the plugin, please consider leaving us a rating.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to use plugin to allow purchase by one user role only’ is closed to new replies.