This topic has 2 replies, 2 voices, and was last updated 5 years, 5 months ago ago by Olga Barlow
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
?>
<?php
if ( is_wc_endpoint_url( 'order-received' ) ) return;
echo do_shortcode('[woocommerce_cart]');
?>
and in cart file I’ve deleted some lines which were displaying info table on right and coupon button.
Hello,
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.
Regards
You must be logged in to reply to this topic.Log in/Sign up