Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
* @Title:WooCommerce Change "Continue Shopping" Message on Cart Page
* @Author: Mina Pansuriya
* @Website:
add_filter( 'wc_add_to_cart_message', 'pbs_change_cart_message', 10, 2 );
function pbs_change_cart_message( $cart_message, $product_id ) {
if(strpos($cart_message, "Continue Shopping") !== false)
$cart_message = str_replace("Continue Shopping","Shop More",$cart_message);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.