How To Send Buyers Direct To Checkout WooCommerce

The easiest way to increase sales on your e-commerce shop right now.

by Adam Preiser   |   Last Updated: March 4, 2019

Share on facebook
Share on twitter
Share on linkedin
Share on pinterest
Share on email

The more steps you put your buyer through, the less likely it is that they will complete the purchase.

Thats a fact! But there is something you can do about it.

In this tutorial I will show you how to skip the cart all together and send your buyers straight to the checkout page.

Skip Cart Code

add_filter('add_to_cart_redirect', 'cw_redirect_add_to_cart');
function cw_redirect_add_to_cart() {
    global $woocommerce;
    $cw_redirect_url_checkout = $woocommerce->cart->get_checkout_url();
    return $cw_redirect_url_checkout;

Change Add To Cart Button Text

add_filter( 'woocommerce_product_single_add_to_cart_text', 'cw_btntext_cart' );
add_filter( 'woocommerce_product_add_to_cart_text', 'cw_btntext_cart' );
function cw_btntext_cart() {
    return __( 'Go To Checkout', 'woocommerce' );
Video Transcript
Adam @ WPCrafter

Adam @ WPCrafter

My passion is making the best quality video tutorial online, for non-techies. When I am not behind the camera, I am usually helping out one of my YouTube subscribers.

4 thoughts on “How To Send Buyers Direct To Checkout WooCommerce”

  1. Hey Adam, thanks, its very helpful.
    However, when I used these code snippets, On the cartflows checkout page, I am getting a message on top “this product has been added to your cart… then there is a “view cart button” towards right and this text on it is not visible unless I hover over the mouse over it (button and text both are orange hence appears as a bar, once i hover the text goes black)
    How do I change this color?

Leave a Comment

Your email address will not be published. Required fields are marked *