Checkout

WooCommerce Remove Footer From Checkout

WooCommere footer removed on checkout

Pre-Requisites

There are no pre-requisites in order for you to be able to implement this solution.

How To Implement This Solution?

Simply copy the pre-coded solution to your active theme’s functions.php or preferably the Code Snippets Plugin.

About This Solution

Removing the footer from the checkout page is important if you want to reduce exit points and increase conversions. Remember, the more distractions and exit points the checkout has, the more likely the user will navigate away from paying. Unlike a lot of alternative snippets, this code will only remove the footer from page where the user pays for their order meaning it is shown once again on the Thank You page (order-received endpoint).

/**
 * Snippet Name:	WooCommerce Remove Footer From Checkout
 * Snippet Author:	ecommercehints.com
 */
function ecommercehints_remove_footer_from_checkout() {
	if(is_checkout() && !is_wc_endpoint_url( 'order-received' )){ // Remove from checkout but show again on the thank you page ?>
		<style>
			footer {
				display:none;
			}
		</style>
	<?php }
}
add_action( 'wp_head', 'ecommercehints_remove_footer_from_checkout');

Snippet Benefits

  • Remove the footer from your checkout page to increase your conversion rate but show it again on the Thank You page (order-received endpoint).

100 WooCommerce Conversion Rate Optimisation Tips

This field is for validation purposes and should be left unchanged.

Let’s collaborate!

Need to outsource WordPress development?

Join forces with UnlimitedWP for an outsourced white label web development service you can truly rely on.

First Timer Here?

Sign up to receive 20% off on your first month with us.

26027
WELCOME OFFER