• Resolved ovad

    (@ovad)


    Hi Kevin,

    I’d like your Force Login for my checkout process only. Whenever users try to go to the billing form from the cart page or quick checkout, I want Force Login to kick in (allowing them to login or register) before they fill the billing form and make payment.

    Just at that stage alone, without disrupting the purchase cycle or taking them to the My Aaccount page. Is there a way I can make this happen?

    Should also work when users try to checkout from payment links sent to their emails.

Viewing 1 replies (of 1 total)
  • Plugin Author Kevin Vess

    (@kevinvess)

    Hi– thanks for your interest in Force Login!

    If you only need to make a few pages private (accessible to logged-in users), then I recommend you write your own redirect for those pages. You can copy/cut parts of the Force Login code to achieve this.

    Force Login basically does the opposite of what you want – it makes all pages private with the option to allow only a few pages to be publicly accessible.

    With that being said, you could use the v_forcelogin_bypass filter to allow all pages to be publicly accessible, except for the ones you want to keep private.

    For example:

    if ( ! is_page('checkout') ) {
      $bypass = true;
    }

    The FAQs outline how you can add exceptions for certain pages or posts.

    Good luck!

Viewing 1 replies (of 1 total)
  • The topic ‘Login/Register for Checkout only’ is closed to new replies.