I do an online store with Woocommerce, where my client asks me that he does not want people to be able to register, he will create a user and password for each of his customers. In this way, he can control who is buying at his store.
So, I went into Woocommerce and turned off registration at checkout and everywhere, and also allowed guests to place orders. Everything works fine, except that when someone tries to place an order, when he logs out, when he tries to go to the checkout page, he simply displays an unformatted message that says: "You must be logged in to place order". Is there a way in which I can redirect unregistered clients to the login page when trying to access the checkout?
source
share