Require Login for WooCommerce

Description

Set the WooCommerce Shop only for logged-in users. Just activate the plugin and users not logged-in will be redirected to “My Account” page by default to login.

Installation

  1. Upload woo-for-logged-users.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

FAQ

What do I need to do after activating the plugin?

Nothing :). After activating, the plugin automatically will redirect not logged-in users to “My Account” page to login.

Can I set what pages the user will be redirected to?

Yes, you can. In Dashboard, go to menu WooCommerce -> Require Login for WooCommerce and set the pages that you desire.

Reviews

29, Marzu de 2022 1 reply
I was wondering how to add a new and useful feature for my shop, and I asked Ramon Ahnert, and him instantly helps me with a code snippet that amazingly solved my problem! Thanks a lot bro!
29, Agostu de 2021 1 reply
Great simple trustable plugin, I had the same issues as in “Redirect to Shop page” so I think a fix to the max 5 items in drop-down would be usefull.
8, Abril de 2021 1 reply
I use this plugin because I was a bit too enthousiastic with my SEO and google was delivering me too many customers that I couldn’t handle so I wanted to keep my loyal customers but block the new ones. After searching and installing so many plugins that were so useless and time wasting I finally found this. And it’s simple. You activate it. And it just redirects anyone that wants to visit your shop, to log in page.. Thank you, I made an account just for making this review. You deserve more 5+ stars and i’m glad and my problem is solved so a huge thank you !
Read all 10 reviews

Contributors & Developers

“Require Login for WooCommerce” is open source software. The following people have contributed to this plugin.

Contributors

“Require Login for WooCommerce” has been translated into 4 locales. Thank you to the translators for their contributions.

Translate “Require Login for WooCommerce” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.4.1

  • [update] Plugin’s name

1.4.0

  • [fix] Blank Settings page

1.3.0

  • [new] Filters wflu_should_redirect_not_logged_in_user, wflu_redirect_page_url and wflu_redirect_after_login_page_url

1.2.3

  • Security: update dependencies.

1.2.2

  • Fix registering of REST API routes

1.2.1

  • Fix internationalization issue

1.2.0

  • Update the settings page with redirect options

1.1.0

  • Add option to redirect to shop page after login

1.0.1

  • Updated “tested up to”

1.0

  • Initial release