You can try this custom css:
.single-product .woocommerce-message {
display: none;
}
Custom css can be entered at:
Dashboard > Appearance > Customize > Additional CSS
Its possible other product page WooCommerce messages may also be hidden. Unfortunately its not possible to target just the add-to-cart ones.
That’s perfect. Thank you so very much. Have a great day!
The add-to-cart message can also be removed using this code snippet.
add_filter( 'wc_add_to_cart_message_html', '__return_false' );
https://wordpress.org/support/topic/hide-added-to-your-cart-message/
-
This reply was modified 4 years, 6 months ago by
Luke Cavanagh. Reason: clarify wording