WooCommerce Remove Footer From Checkout

WooCommere footer removed on checkout


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 ?>
			footer {
	<?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).
WooCommerce Conversion Rate Optimisation (CRO) eBook
100 WooCommerce Conversion Rate Optimisation Tips

Leave a Reply

If you are going to write code in the comments, please wrap it between code tags.

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

Other Recent Guides

Subscribe To Emails

Get exclusive WooCommerce tips that I only share with email subscribers

Join hundreds of other subscribers