Website Building » WooCommerce » How Do I Remove a Return to Shop Link in WooCommerce?

How Do I Remove a Return to Shop Link in WooCommerce?

Last updated on October 2, 2022 @ 12:00 am

If you’re running a WooCommerce store, you might want to remove the “Return to shop” link that appears on the checkout page. This link allows customers to return to the shop page and continue shopping after they’ve added an item to their cart.

There are two ways to remove the “Return to shop” link: through the WordPress admin panel or by editing your theme’s code.

Removing the Link Through the WordPress Admin Panel

1. Log into your WordPress site and go to WooCommerce > Settings. 2. On the Checkout tab, find the Checkout Options section and uncheck the “Enable Cart Fragments” checkbox. 3.

Save your changes.

You can also remove the “Return to shop” link by hiding it with CSS. This can be done through the Customizer:

PRO TIP: If you are using WooCommerce to sell products on your WordPress website, you may want to remove the “Return to Shop” link from the checkout page. This can be done by adding a few lines of code to your functions.php file.

However, before making any changes to your website’s code, it is always recommended that you create a backup of your site first. This will ensure that you can restore your site if something goes wrong.

1. Log into your WordPress site and go to Appearance > Customize. On the Customizer, click on the “Additional CSS” tab. Add the following code to the text area:

.woocommerce-message a.button { display: none; }












How Do I Remove a Return to Shop Link in WooCommerce?



By following the steps above, you can easily remove the return to shop link in WooCommerce.
>
Morgan Bash

Morgan Bash

Technology enthusiast and Co-Founder of Women Coders SF.