WooCommerce for Logged-in Users

描述

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.

安装

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

常见问题

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 -> WooCommerce for logged-in users and set the pages that you desire.

评价

2022年3月29日 1 回复
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!
2021年8月29日 1 回复
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.
2021年4月8日 1 回复
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 !
2019年11月18日 1 回复
The simplest plugin ever! I am not known to review, but have to for this one. Thanks to the creator!!!!!!!!!!!!!!!!!!!!
2019年10月10日 1 回复
8 hours of messing about with hacks and other plugins to try and do the job of this plugin, which quite simply - worked ! Brilliant !
阅读所有8条评价

贡献者及开发者

“WooCommerce for Logged-in Users” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

“WooCommerce for Logged-in Users”插件已被翻译至3种本地话语言。 感谢所有译者为本插件所做的贡献。

将“WooCommerce for Logged-in Users”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

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