Cart Page is Empty When Item is Removed – Woocommerce
I wanted to design my own template for Cart Page when the cart is empty. I have added the below snippet to accomplish. add_action( 'woocommerce_cart_is_empty', 'custom_empty_cart_message', 10 ); remove_action( 'woocommerce_cart_is_empty', 'wc_empty_cart_message', 10 ); remove_action( 'woocommerce_cart_item_removed', 'action_woocommerce_cart_item_removed', 10); add_action( 'woocommerce_cart_item_removed', 'custom_empty_cart_message',…