For this functionality on the single product page only, you’ll need to disable “Redirect to the basket page after successful addition” under WooCommerce > Settings > Products . General > Add to cart behaviour.
Simply copy the pre-coded solution to your active theme’s functions.php or preferably the Code Snippets Plugin. To change the button text to something more appropriate like “Buy Now” or “Go To Checkout”, check out our guide on changing the add to cart button text.
Need support with the snippet? We’re Here to Help You, Contact Us!
If your store deals with products where typically only one in the entire range is bought, you may wish to redirect users straight to the checkout page when they add a product to cart, effectively skipping out the cart stage entirely. By skipping stages in the sales funnel, you increase the likelihood of a sale because less effort is involved in moving through the buying process. This quick guide shows you how, on the single product page, you can redirect users straight to the checkout when they’ve added their product to cart. For a better User Experience (UX), you should probably change the text of the add to cart button too to let users know they will not being looking at a cart and instead, going straight to the WooCommerce checkout.
Join forces with UnlimitedWP for an outsourced white label web development service you can truly rely on.