-1
Looking for "Continue Shopping" in the plugin code, brings to the file wc-cart-functions.php#L88
, where is this filter:
wc_add_notice( apply_filters( 'wc_add_to_cart_message', $message, $product_id ) );
The following code in your functions.php
or custom plugin would remove the warning:
add_filter( 'wc_add_to_cart_message', '__return_empty_string' );
# pode tentar __return_null também
If there is any trace, it should probably be removed with CSS or editing the relevant file on Theme/Child-Theme used on the website.
And to get to the result you describe, you must filter by product_id
and use something like:
add_filter( 'wc_add_to_cart_message', function( $msg, $id ){
if( $id == SEU_PRODUCT_ID ) $msg = "Produto tal";
return $msg;
}, 10, 2 );
The easiest way is to comment this button directly on your theme code.
– Ricardo Frederico S. da Silva