Hi,
There are a few cart notices from YITH Themes that print at the top of the cart and checkout page.
Can you help me move them to another location. preferably to woocommerce_cart_collaterals and woocommerce_checkout_after_customer_details
I’d like to leave the “Returning Customer” message at the top.
The YITH developer gave me a bit of code to try, but it didn’t work:
function move_woocommerce_message(){
remove_action( 'woocommerce_before_cart', 'wc_print_notices', 10 );
add_action( 'woocommerce_cart_collaterals', 'wc_print_notices', 35 ); }
add_filter('wp', 'move_woocommerce_message');
He says they are defined in the cart.php file:
https://snag.gy/a0Io2T.jpg
Any help would be appreciated! Thanks!