How to instantly add WooCommerce product to cart and check out 

 May 22, 2019

By  NickLitten

WooCommerce is a great ecommerce solution for WordPress websites, but the Woo workflow can feel too long for simple, or subscription based products. So, lets configure #woocommerce to bypass the CART Page and jump straight to the checkout when a customer adds a product.

This used to need a little bit of PHP functionality to do the magic, but I recently accidentally discovered a smooth solution that just needs a little set-up in the base Woocommerce settings. :smileyface


and make sure “Redirect to the cart page after successful addition” is selected

How to instantly add WooCommerce product to cart and check out 1


Now, update the Cart page to point to Checkout page

update the Cart page to point to Checkout page

Now any time a user clicks the BUY BUTTON it will take them direct to the checkout payment screen to enter their credit card details. :anothersmileyface

Now, when we click BUY NOW it looks a little like a rhesus monkey wearing a powdered wig:

Buy Now Button in WooCommerce
Buy Now Button in WooCommerce CHECKOUT

You are most welcome! 🙂


IBM i Software Developer, Digital Dad, AS400 Anarchist, RPG Modernizer, Shameless Trekkie, Belligerent Nerd, Englishman Abroad and Passionate Eater of Cheese and Biscuits. Nick Litten Dot Com is a mixture of blog posts that can be sometimes serious, frequently playful and probably down-right pointless all in the space of a day. Enjoy your stay, feel free to comment and remember: If at first you don't succeed then skydiving probably isn't a hobby you should look into.

Nick Litten

related posts:

{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}
__CONFIG_colors_palette__{"active_palette":0,"config":{"colors":{"cff50":{"name":"Main Accent","parent":-1},"a344d":{"name":"Accent Transparent","parent":"cff50"}},"gradients":[]},"palettes":[{"name":"Default","value":{"colors":{"cff50":{"val":"var(--tcb-skin-color-0)"},"a344d":{"val":"rgba(46, 138, 229, 0.85)","hsl_parent_dependency":{"h":210,"l":0.54,"s":0.78}}},"gradients":[]},"original":{"colors":{"cff50":{"val":"rgb(0, 178, 255)","hsl":{"h":198,"s":1,"l":0.5}},"a344d":{"val":"rgba(0, 178, 255, 0.85)","hsl_parent_dependency":{"h":198,"s":1,"l":0.5}}},"gradients":[]}}]}__CONFIG_colors_palette__

Get In Touch

I’m always looking for awesome input, feedback and critique!