Hello, I’ve made some changes in cart.php and form-checkout.php to make them one page view. Everything is ok but i cant get empty cart message to show… I have resolved it with function that redirect if cart is empty but i would like to write code in cart or form-checkout file to show original empty cart message.
In checkout i’ve only added shortcode to display cart:
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
if ( is_wc_endpoint_url( 'order-received' ) ) return;
and in cart file I’ve deleted some lines which were displaying info table on right and coupon button.
Our theme uses the default WooCommerce functionality for the cart/checkout. If you want to change some default WooCommerce features contact WooCommerce support or submit customization request here. We can help you with existing theme settings only, additional customization is outside the scope of our support, sorry.