Pro Verified

Name

Remove the WooCommerce Continue Shopping Button

About

Use this to remove the Continue to Shopping Bar and Button if you don't want to show it.

Language

PHP

Rating

Voted: 0 by 0 user(s)

Codevault

WebSquadron

Scroll down to see more snippets from this codevault.

Wordpress Compatability

The author has indicated that this snippet is compatable up to wordpress version: 6.1

Code Snippet Plugin Sync

Free & Pro

Download this snippet by clicking the download button, then head over to the Code Snippet Plugin settings in your wordpress admin dashboard, select the import menu then upload this file to import into your wordpress site.

Pro Only (Coming Soon)

You will be able to click a button and sync this snippet to your wordpress site automatically and from your dashboard manage all code snippets across all your wordpress sites that have the Code Snippets Pro plugin installed.

History

Last modified:

26/03/2023

Important Note

This snippet has the following status:

Pro Verified

This snippet has been verified by a Code Snippet Pro team member.

Pro Comments:

Remove the WooCommerce Continue Shopping Button

 
                    
1// Remove "Product added to cart" message
2add_filter( 'wc_add_to_cart_message_html', '__return_null' );
3 
4// Remove "Continue Shopping" button
5remove_action( 'woocommerce_cart_actions', 'woocommerce_button_continue_shopping', 10 );

0

Related Snippets

Please see some snippets below related to this snippet..

WooCommerce

AI Verified

0

Inventory Status Change

Added: 6 months ago

Last Updated: 6 months ago

I have a client who sells logs - has less than 10 products and doesn't use the stock management tools in WooCommerce. They wanted to control the Inventory on the basis of 'In Stock' or 'Out of Stock'...

WooCommerce

AI Verified

0

WooCommerce Change Add To Cart Button Text On Click

Added: 1 year ago

Last Updated: 1 year ago

A key part of a good User Experience (UX) is feedback. Knowing you’ve clicked on something prevents rage clicks. Have you ever spam clicked the add to cart button because you weren’t sure if a product...

WooCommerce

AI Verified

0

Change the arrangement of fields in the checkout area or delete fields

Added: 1 year ago

Last Updated: 1 year ago

Customize the fields in the checkout. You can change the fields in the checkout area, sort them differently or delete individual fields.

Other Snippets in this Codevault

These are some popular snippets from this users codevault..

Performance

AI Verified

31

Remove Unused Javascript

Added: 1 year ago

Last Updated: 2 weeks ago

Remove Unused Javascript - and improve your Page Speed Insight Score

WooCommerce

Pro Verified

9

Deactivate some WooCommerce Checkout Fields

Added: 1 year ago

Last Updated: 7 months ago

Deactivate some WooCommerce Checkout Fields from showing

Elementor

AI Verified

6

CSS Grid Aid

Added: 7 months ago

Last Updated: 3 weeks ago

This can be used for any WordPress Builder to aid working with CSS Grids.