Website Building » WooCommerce » How Do I Add Continue Shopping Button in Checkout Page WooCommerce?

How Do I Add Continue Shopping Button in Checkout Page WooCommerce?

Last updated on October 1, 2022 @ 11:25 pm

When you are running a WooCommerce store, it is important to make the checkout process as smooth and easy as possible for your customers. One way to do this is to add a continue shopping button to your checkout page.

This will allow customers to easily go back and continue shopping if they need to, without having to start the checkout process all over again.

Adding a continue shopping button to your checkout page is a simple process. First, you need to edit the checkout page template file.

This can be found in your theme folder, under /checkout/. Once you have located the file, open it up in a text editor and find the following line of code:

<?php wc_get_template( 'checkout/form-checkout.php', array( 'checkout' => $checkout ) ); ?>

PRO TIP: This article is about adding a “continue shopping” button to the checkout page in WooCommerce. This button allows customers to continue shopping after they have finished their purchase. However, it is important to note that this button should only be used if you are sure that your customers want to continue shopping. Otherwise, it could lead to confusion and frustration.

You will need to replace this line of code with the following:

<?php wc_get_template( 'checkout/form-checkout.php', array( 'checkout' => $checkout, 'continue_shopping_button' => true ) ); ?>

Once you have made this change, save the file and upload it back to your server. That’s it!

You should now see a continue shopping button on your checkout page.

Conclusion:
Adding a continue shopping button on your WooCommerce checkout page is an easy way to make the process more smooth and user-friendly for your customers. By making this simple change, you can help improve the overall experience for those shopping on your site.

Madison Geldart

Madison Geldart

Cloud infrastructure engineer and tech mess solver.