WooCommerce Product Visibility by User Role

WooCommerce Product Visibility by User Role

Display WooCommerce products by customer’s user role

Description

WooCommerce Product Visibility by User Role module lets you show or hide WooCommerce products by customer’s user role. When enabled, module will add new “Booster: Product Visibility by User Role” meta box to each product’s edit page.

WooCommerce Product Visibility by User Role - Admin Product Edit

Accessible through:

  • WooCommerce > Settings > Booster > Products > Product Visibility by User Role

Tested on WooCommerce 4.0.0 and WordPress 5.3.2Plugin can be downloaded here. If there are any locked fields in the module, you will need to get Booster Plus to unlock them.

WooCommerce Booster ModulesWooCommerce Product Visibility by User RoleWooCommerce ProductsWooCommerce User Roles

#comment>

#comment>

#comment>#comment>#comment>

Leave a Reply Click here to cancel reply.

#comment>

Comments

30 Comments

  1. Tara Manick March 23, 2020 at 8:26 pm#comment>

    Hi, I would like to rename my roles, e.g. retail, wholesale etc, how can I do this?

    Reply to thread

    #comment>#comment>#comment>Avatar#comment>

  2. #comment>

  3. Tal Freibergs February 5, 2020 at 2:32 am#comment>

    The product visibility by user type feature does not seem to be working. Guest can view the product page after I enabled the settings for subscriber, customer and admin only.

    Reply to thread

    #comment>#comment>#comment>Avatar#comment>

    • RokasJ February 5, 2020 at 11:41 am#comment>

      Hi Tal,

      Please try clearing the cache if you use any caching plugins and enabling “Modify Query” options.

      Best regards,
      Rokas – Support Team

      #comment>#comment>Avatar#comment>

    • #comment>

    #comment>

  4. #comment>

  5. Emily Hurst January 22, 2020 at 10:08 pm#comment>

    Hello!
    I purchased this plugin to be able to make certain products available to customer roles.. Unfortunately, the other day, when I was updating the products
    that I would like to be hidden or visible.. It crashed my website and I can no longer use the plug in..

    Is there a work around or an update to fix this? I sent an email about it, but I didn’t get a reply yet!

    Thanks,
    Emily

    Reply to thread

    #comment>#comment>#comment>Avatar#comment>

    • RokasJ January 23, 2020 at 7:57 pm#comment>

      Hi Emily,

      I have just replies to your email, please take a look.

      Best regards,
      Rokas – Support Team

      #comment>#comment>Avatar#comment>

    • #comment>

    #comment>

  6. #comment>

  7. Anfield October 22, 2019 at 9:26 am#comment>

    Hi, this feature works well. However, if a user is not able to view any product, it will show error 500. Is it possible to redirect to an error page?

    Reply to thread

    #comment>#comment>#comment>Avatar#comment>

    • Anfield October 22, 2019 at 10:18 am#comment>

      Apart from this, how can I allow my shop manager to pick some other custom role when setting the visibility of products?

      #comment>#comment>Avatar#comment>

    • #comment>

    • RokasJ October 22, 2019 at 5:16 pm#comment>

      Hi,

      I have just checked and it should be redirecting to 404 page, are you sure it’s showing error 500? Unfortunately it’s not currently possible to change the error code or modify module settings visibility yet.

      Best regards,
      Rokas – Support Team

      #comment>#comment>Avatar#comment>

    • #comment>

    • Anfield October 23, 2019 at 1:34 am#comment>

      Yes, it is error 500. Is there any hook that we can make a custom plugin / filter to show a proper error screen instead of 500 error page?
      Besides, our shop manager unable to pick any other user roles (as well as custom roles) except “customer” in product visibility. Again, is there any hook that we can make a custom plugin / filter to enhance?
      Thanks

      #comment>#comment>Avatar#comment>

    • #comment>

    • RokasJ October 24, 2019 at 6:07 pm#comment>

      Hi Anfield,

      Unfortunately that is not possible yet. If you would like to investigate the error 500 issue further, could you contact us directly at support@booster.io

      Best regards,
      Rokas – Support Team

      #comment>#comment>Avatar#comment>

    • #comment>

    #comment>

  8. #comment>

  9. Suzie September 26, 2019 at 8:46 am#comment>

    I’m going to use the module to hide products from unregistered visitors. However, I have a concern: will the plugin hide multiple products under a category at the same time?

    Reply to thread

    #comment>#comment>#comment>Avatar#comment>

    • RokasJ September 27, 2019 at 5:31 pm#comment>

      Hi Suzie,

      Unfortunately it’s not currently possible to configure this by category yet but you could use bulk edit options to apply the same settings to multiple products at a time.

      Best regards,
      Rokas – Support Team

      #comment>#comment>Avatar#comment>

    • #comment>

    #comment>

  10. #comment>

  11. Matt July 24, 2019 at 1:08 pm#comment>

    Hi there,

    I am wondering if this plugin is compatible with the WP All Import plug-in?

    Regards,

    Matt

    Reply to thread

    #comment>#comment>#comment>Avatar#comment>

    • RokasJ July 24, 2019 at 2:40 pm#comment>

      Hi Matt,

      It should work because WP All Import uses meta data, same as Booster. You could try out free version of Booster or on your staging site first if you would like.

      Best regards,
      Rokas – Support Team

      #comment>#comment>Avatar#comment>

    • #comment>

    #comment>

  12. #comment>

  13. Pratik Dhody March 18, 2019 at 6:59 am#comment>

    Hi,
    I have a shop catalogue page but the products are still being displayed when visibility has been disabled for that user. The only thing this plugin is doing is hiding it from being purchased.
    Is there a solution built into this plugin which hides it from the catalogue page?
    Cheers

    Reply to thread

    #comment>#comment>#comment>Avatar#comment>

    • RokasJ March 18, 2019 at 1:26 pm#comment>

      Hi,

      I would recommend trying to enable “Modify Query” options to see if it fixes the issue.

      Best regards,
      Rokas – Support Team

      #comment>#comment>Avatar#comment>

    • #comment>

    #comment>

  14. #comment>

  15. craftyrob March 14, 2019 at 3:20 pm#comment>

    We are using this plugin to hide specific products from certain customers but even though the hidden products are not shown on the shop pages there is a gap where the product would have been leaving lots of empty gaps all over our shop. How can we stop this from happening?

    Reply to thread

    #comment>#comment>#comment>Avatar#comment>

    • RokasJ March 14, 2019 at 7:30 pm#comment>

      Hi,

      That shouldn’t be happening. Could you try enabling “Modify Query” options to see if they have any effect?

      Best regards,
      Rokas – Support Team

      #comment>#comment>Avatar#comment>

    • #comment>

    #comment>

  16. #comment>

  17. northview October 30, 2018 at 1:06 pm#comment>

    Ive activated the maximum product per user as the product is a limited edition but when I try or a colleague tries, we can still keep going back and ordering another of the product.
    please help as this is meant to be live tomorrow

    Reply to thread

    #comment>#comment>#comment>Avatar#comment>

    • northview October 30, 2018 at 3:12 pm#comment>

      Everything im trying isn’t working and you’ve stopped replying to my emails. how do I request a refund?

      #comment>#comment>Avatar#comment>

    • #comment>

    #comment>

  18. #comment>

  19. Rubb July 25, 2018 at 8:54 am#comment>

    Can I use user role plugin to make custom role and use it with this option?
    Can this option make custom role?

    Reply to thread

    #comment>#comment>#comment>Avatar#comment>

    • RokasJ July 25, 2018 at 7:22 pm#comment>

      Hi Rubb,

      You can create custom user roles using a different module in this plugin called “Booster General Tools”.

      Best regards,
      Rokas – Support Team

      #comment>#comment>Avatar#comment>

    • #comment>

    #comment>

  20. #comment>

  21. Emma Pabale October 13, 2017 at 4:25 pm#comment>

    Hi We’re using this on our site and the products that are restricted to logged on users aren’t visible on the shop BUT THE SHOP PAGE ISN’T UPDATED AND IS DISPLAYING 32 PAGES WHILST THERE IS ONLY A COUPLE OF PRODUCTS VISIBLE.
    Pls help.

    Reply to thread

    #comment>#comment>#comment>Avatar#comment>

  22. #comment>

  23. Francisco Correia July 6, 2017 at 11:13 am#comment>

    Hi.

    I am using this on my staging and it is working, meaning the products don’t show, but the hidden products are still searchable. Is that how you made it work by default? Will you consider making this feature also hide the products from the search results?

    Thanks,
    Francisco

    Reply to thread

    #comment>#comment>#comment>Avatar#comment>

    • Francisco Correia July 6, 2017 at 11:20 am#comment>

      Correction: It does not show on the search results if you hit enter but rather on the search preview that pops on the header’s hearch bar.

      #comment>#comment>Avatar#comment>

    • #comment>

    #comment>

  24. #comment>

  25. Sarah June 27, 2017 at 5:27 am#comment>

    I’m using this module to hide products from unregistered users. Most of the product is only for registered users. I’m having a conflict with the pagination, though. When an unregistered user searches for a tag like “levi”, it’s returning 13 products, but since it’s only allowing the user to see four, the pagination shows 2 pages, one with the four products they’re allowed to see marked items 1-12 of 13, and a second blank page that says items 13-13 of 13. How can I run the count again to get the pagination to show the correct number of results?

    THANK YOU!!!! 🙂

    Reply to thread

    #comment>#comment>#comment>Avatar#comment>

    • Sarah June 27, 2017 at 5:50 am#comment>

      Okay, I think it might be coming from the Adv Woo Search plug-in, not the one from the booster. Thanks anyway! Sorry for the trouble. You can delete these.

      #comment>#comment>Avatar#comment>

    • #comment>

    #comment>

  26. #comment>

  27. Adam Posey March 10, 2017 at 12:21 am#comment>

    Activating the query option for this plugin (in both Dev and Stable) kills my system entirely. Completely crashed one server so badly I had to restore from backup.

    Reply to thread

    #comment>#comment>#comment>Avatar#comment>

  28. #comment>

  29. Matt Sims September 5, 2016 at 4:44 am#comment>

    I am currently trialing this facility on my staging site but it only seems to work when the allowed role is the user’s primary role. When additional capabilites field is set to a group on the user’s profile, this plugin does not recognise it.

    Am I missing something?

    Thanks

    Reply to thread

    #comment>#comment>#comment>Avatar#comment>

    • Booster Support Team September 6, 2016 at 2:04 pm#comment>

      Hi Matt,

      Yes, you are right – I’ve checked the code and it was considering only first user role. I’ve made necessary changes, so it should (hopefully) work correctly now, i.e. consider all user roles. Please download the development version here – http://booster.io/dev/. You will need to uninstall the old version first (don’t worry your saved settings won’t disappear). And please let me know if it’s ok now.

      Best regards,
      Tom

      #comment>#comment>Booster Support Team#comment>

    • #comment>

    #comment>

  30. #comment>

#comment>#comment>#comment>#comment>

Leave a Reply

Your email address will not be published. Required fields are marked *

Fill out this field
Fill out this field
Please enter a valid email address.

This site uses Akismet to reduce spam. Learn how your comment data is processed.