How To Redirect To Checkout After Login

What Is Problem?

If you have a custom checkout page and a buyer needs to login, WooCommerce will redirect them to the global checkout page instead of your custom checkout page where they were intending to buy.

Solution

Install the free Previous Page Redirect For WooCommerce plugin.

This will remember the last (checkout) page the buyer was on and redirect them back there instead of the global checkout page.

Alternate Code Solution

If you prefer, you can add this function to your child theme functions.php (or snippets plugin) to achieve similar result (don’t use with plugin!)

Scroll To Top

Get Help!

Submit your question and Spence will get back to you quickly via Email!