I’m using HivePress with the Memberships extension. When a non-logged-in user clicks “Buy Plan” on a membership plan, they go directly to WooCommerce checkout without being asked to log in first.
I want the Buy Plan button to show the HivePress login popup for non-logged-in users, instead of sending them straight to checkout.
This is the default behavior and is designed this way to keep the flow smooth. For example, if the user is not registered yet, the checkout process also handles registration automatically.
There should also be a prompt above the checkout form like “Have an account? Log in”.
It is possible to redirect users to the login page first instead, but this would require customizations in the code. We can provide general guidance on how to achieve this, or check whether there is a simple snippet that could handle it.