• Resolved s8solutions

    (@s8solutions)


    Hi all! I need to override Proceed to Checkout button function to check and see if the user is logged in or not. If they are then to it needs to function as normal. If they aren’t logged in then they need to be taken to special login/registration page I’ve created. I had this working on wordpress 2.x, but it’s broken as of 3.0 Anyone know how to do this?

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter s8solutions

    (@s8solutions)

    Received this response on Slack “Better to just run a check on the checkout page, rather than modifying the button action? You can use the template_redirect hook.” Going to give that a shot, but I’m certain it’ll work.

    dougaitken

    (@dougaitken)

    Automattic Happiness Engineer

    Hi @s8solutions

    Hope you got a solution. We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Proceed To Checkout Conditional Redirect’ is closed to new replies.