WooCommerce 需要注册才能购买 [英] WooCommerce require registration to buy
问题描述
我需要在购买产品之前要求用户注册.现在,当您将产品添加到购物车时,在结帐时您可以使用您的信息填写所有字段,但无需登录 wordpress.有一个创建帐户的简单选项,但它是可选的.
I need to require a user registration before buying a product. Right now, when you add a product to the cart, then in the check out you can fill all the fields with your information but without a wordpress login. There is a simple option to create an account but is optional.
我想知道是否可以修改结帐页面以重定向注册页面.
I'd like to know if is possible to modify the check out page to redirect a register page.
有可能吗?
因此,如果您想提供任何建议或任何有趣的链接,这也将是非常值得赞赏的.
So if you wish to give any suggestion or any interesting link that will also be highly appreciable.
推荐答案
在您网站的管理员中,转到 WooCommerce>Settings>Checkout ex:
In your site's admin go to WooCommerce>Settings>Checkout ex:
http://yoursite.com/wp-admin/admin.php?page=wc-settings&tab=checkout
并确保未选中启用访客结帐"
And make sure that "Enable guest checkout" is unchecked
WooCommmerce 3.4+ 更新
当 WooCommerce 添加它的隐私工具以帮助遵守 GDPR 时,可以肯定它是 3.4.此设置现在位于
Pretty sure it was 3.4 when WooCommerce added it's privacy tools to help with GDPR compliance. This setting is now under
WooCommerce>设置>帐户和隐私
WooCommerce>Settings>Accounts&Privacy
或
wp-admin/admin.php?page=wc-settings&tab=account
这篇关于WooCommerce 需要注册才能购买的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!