Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Change WooCommerce message after adding product to cart
function custom_add_to_cart_message() {
$message = 'New message' ;
return $message;
}
add_filter( 'wc_add_to_cart_message_html', 'custom_add_to_cart_message' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment