Archived topic
"Added to cart notice" displays even if I have the setting disabled
3 replies · Started by Roberto Enrique on November 4, 2021
Better explained in this video:
https://artomultiplo.eu/extra/cartpannel.mp4
It also happens if I disable the plugin "Side Cart For WooCommerce" by Xootix
I've checked everything, and I have also this other site https://cordileone.it which works without issues in practically the same setup.
Hi Roberto,
The option in customizer is this cart panel actually :
https://www.screencast.com/t/7zzQrjjtb
The green bar should be a Woocommerce notice which can not be removed within customizer options. (I might be wrong since I can't read Italian)
You can try this PHP snippet to remove it:
add_filter( 'wc_add_to_cart_message_html', '__return_false' );
Adding PHP: https://docs.generatepress.com/article/adding-php/
Let me know if this helps :)
Thanks :-)
That actually did the trick.
Now I need to understand why in the other websites is not happening.
Thanks again @ying and have a nice day.
Check if the other site is using the same or similar custom function :)
Or other plugins?
You are welcome! Have a great day too!