HostOnNet Blog

How to simplify checkout by skipping the cart page in Woocommerce

Looking for Linux Server Admin or WordPress Expert? We can help.

In this guide, we will show how to simplify the checkout process on your store by skipping the cart page in WooCommerce.

1) Login to the WordPress admin area and navigate to Plugins > Add New. Search for Direct Checkout for WooCommerce, click Install Now, and then hit Activate once the installation is complete.

Direct Checkout for WooCommerce

2). Then navigate to WooCommerce > Settings > Direct Checkout > Set Added to cart redirect – Yes and Added to cart redirect to – Checkout and save the changes.

Redirect to checkout

Here are the other features of the plugin

  • Replace Add to cart text from Archives
  • Replace Add to cart text from products
  • Remove unwanted checkout fields
  • Remove checkout order comments
  • Remove checkout policy text
  • Remove checkout terms and conditions
  • Remove checkout gateway icons

You can also Skip the Cart Page by adding the following code snippet to your functions.php

add_filter('add_to_cart_redirect', 'hon_skip_cart_page');
function hon_skip_cart_page () {
 global $woocommerce;
 $redirect_checkout = $woocommerce->cart->get_checkout_url();
 return $redirect_checkout;
}

About Sibi Antony

Bootstrap and Android LOVER. I've been creating things for the web for over 10 years, from the period of flash and table based layout web sites till mobile and tab friendly web sites.
Posted in Wordpress

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.