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

1

WooCommerce Show Coupon Code Used In Emails

Added: 1 year ago

Last Updated: 2 months ago

This snippet looks at if there are any coupon codes used in the order.If there are, it fetches the coupon coupon type, name and the amount.If the coupon code type is a percentage based discount, a per...

WooCommerce

AI Verified

1

WooCommerce Stock Status Progress Bar for Variations

Added: 1 year ago

Last Updated: 2 months ago

An expanded on version of ecommercehints.com's WooCommerce Stock Status Progress Bar This snippet inserts a progress bar on both single products and variable products' pages, allowing customers t...

WooCommerce

AI Verified

0

Remove WooCommerce Checkout Fields

Added: 1 year ago

Last Updated: 1 year ago

This code removes certain checkout fields from a WooCommerce checkout page, including billing company, billing address, billing city, billing postcode, billing country, billing state, billing phone, a...

Other Snippets in this Codevault

These are some popular snippets from this users codevault..

Performance

AI Verified

34

Remove Unused Javascript

Added: 1 year ago

Last Updated: 1 week ago

Remove Unused Javascript - and improve your Page Speed Insight Score

WooCommerce

Pro Verified

10

Deactivate some WooCommerce Checkout Fields

Added: 1 year ago

Last Updated: 2 months ago

Deactivate some WooCommerce Checkout Fields from showing

Elementor

AI Verified

6

CSS Grid Aid

Added: 9 months ago

Last Updated: 3 months ago

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